1*11be35a1SLionel Sambuc /* cast initialization */ 2*11be35a1SLionel Sambuc typedef unsigned char u_char; 3*11be35a1SLionel Sambuc typedef unsigned int size_t; 4*11be35a1SLionel Sambuc struct sockaddr_x25 { 5*11be35a1SLionel Sambuc u_char x25_len; 6*11be35a1SLionel Sambuc u_char x25_family; 7*11be35a1SLionel Sambuc short x25_net; 8*11be35a1SLionel Sambuc char x25_addr[16]; 9*11be35a1SLionel Sambuc struct x25opts { 10*11be35a1SLionel Sambuc char op_flags; 11*11be35a1SLionel Sambuc char op_psize; 12*11be35a1SLionel Sambuc char op_wsize; 13*11be35a1SLionel Sambuc char op_speed; 14*11be35a1SLionel Sambuc } x25_opts; 15*11be35a1SLionel Sambuc short x25_udlen; 16*11be35a1SLionel Sambuc char x25_udata[16]; 17*11be35a1SLionel Sambuc }; 18*11be35a1SLionel Sambuc 19*11be35a1SLionel Sambuc struct sockaddr_x25 x25_dgmask = { 20*11be35a1SLionel Sambuc (unsigned char)(unsigned char)(unsigned int)(unsigned long)(&((( struct sockaddr_x25 *)0)->x25_udata[1])) , 21*11be35a1SLionel Sambuc 0, 22*11be35a1SLionel Sambuc 0, 23*11be35a1SLionel Sambuc {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}, 24*11be35a1SLionel Sambuc {0, 0, 0, 0}, 25*11be35a1SLionel Sambuc -1, 26*11be35a1SLionel Sambuc {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}, 27*11be35a1SLionel Sambuc }; 28