Searched refs:sax (Results 1 – 4 of 4) sorted by relevance
/linux-3.4.99/net/ax25/ |
D | ax25_uid.c | 74 int ax25_uid_ioctl(int cmd, struct sockaddr_ax25 *sax) in ax25_uid_ioctl() argument 86 if (ax25cmp(&sax->sax25_call, &ax25_uid->call) == 0) { in ax25_uid_ioctl() 98 user = ax25_findbyuid(sax->sax25_uid); in ax25_uid_ioctl() 103 if (sax->sax25_uid == 0) in ax25_uid_ioctl() 109 ax25_uid->uid = sax->sax25_uid; in ax25_uid_ioctl() 110 ax25_uid->call = sax->sax25_call; in ax25_uid_ioctl() 125 if (ax25cmp(&sax->sax25_call, &ax25_uid->call) == 0) in ax25_uid_ioctl()
|
D | af_ax25.c | 1444 struct sockaddr_ax25 sax; in ax25_sendmsg() local 1520 sax = *usax; in ax25_sendmsg() 1522 ax25cmp(&ax25->dest_addr, &sax.sax25_call)) { in ax25_sendmsg() 1540 sax.sax25_family = AF_AX25; in ax25_sendmsg() 1541 sax.sax25_call = ax25->dest_addr; in ax25_sendmsg() 1588 lv = ax25_addr_build(skb->data, &ax25->source_addr, &sax.sax25_call, in ax25_sendmsg() 1647 struct sockaddr_ax25 *sax = msg->msg_name; in ax25_recvmsg() local 1649 memset(sax, 0, sizeof(struct full_sockaddr_ax25)); in ax25_recvmsg() 1652 sax->sax25_family = AF_AX25; in ax25_recvmsg() 1656 sax->sax25_ndigis = digi.ndigi; in ax25_recvmsg() [all …]
|
/linux-3.4.99/Documentation/networking/ |
D | l2tp.txt | 255 struct sockaddr_pppol2tp sax; 259 memset(&sax, 0, sizeof(sax)); 260 sax.sa_family = AF_PPPOX; 261 sax.sa_protocol = PX_PROTO_OL2TP; 262 sax.pppol2tp.fd = udp_fd; /* fd of tunnel UDP socket */ 263 sax.pppol2tp.addr.sin_addr.s_addr = peer_addr->sin_addr.s_addr; 264 sax.pppol2tp.addr.sin_port = peer_addr->sin_port; 265 sax.pppol2tp.addr.sin_family = AF_INET; 266 sax.pppol2tp.s_tunnel = tunnel_id; 267 sax.pppol2tp.s_session = 0; /* special case: mgmt socket */ [all …]
|
/linux-3.4.99/net/netrom/ |
D | af_netrom.c | 837 struct full_sockaddr_ax25 *sax = (struct full_sockaddr_ax25 *)uaddr; in nr_getname() local 847 sax->fsa_ax25.sax25_family = AF_NETROM; in nr_getname() 848 sax->fsa_ax25.sax25_ndigis = 1; in nr_getname() 849 sax->fsa_ax25.sax25_call = nr->user_addr; in nr_getname() 850 memset(sax->fsa_digipeater, 0, sizeof(sax->fsa_digipeater)); in nr_getname() 851 sax->fsa_digipeater[0] = nr->dest_addr; in nr_getname() 854 sax->fsa_ax25.sax25_family = AF_NETROM; in nr_getname() 855 sax->fsa_ax25.sax25_ndigis = 0; in nr_getname() 856 sax->fsa_ax25.sax25_call = nr->source_addr; in nr_getname() 1035 struct sockaddr_ax25 sax; in nr_sendmsg() local [all …]
|