Home
last modified time | relevance | path

Searched refs:sax (Results 1 – 5 of 5) sorted by relevance

/linux/net/ax25/
H A Dax25_uid.c69 int ax25_uid_ioctl(int cmd, struct sockaddr_ax25 *sax) in ax25_uid_ioctl() argument
80 if (ax25cmp(&sax->sax25_call, &ax25_uid->call) == 0) { in ax25_uid_ioctl()
94 sax25_kuid = make_kuid(current_user_ns(), sax->sax25_uid); in ax25_uid_ioctl()
102 if (sax->sax25_uid == 0) in ax25_uid_ioctl()
109 ax25_uid->call = sax->sax25_call; in ax25_uid_ioctl()
124 if (ax25cmp(&sax->sax25_call, &ax25_uid->call) == 0) in ax25_uid_ioctl()
H A Daf_ax25.c1502 struct sockaddr_ax25 sax; in ax25_sendmsg()
1581 sax = *usax; in ax25_sendmsg()
1583 ax25cmp(&ax25->dest_addr, &sax.sax25_call)) { in ax25_sendmsg()
1601 sax.sax25_family = AF_AX25; in ax25_sendmsg()
1602 sax.sax25_call = ax25->dest_addr; in ax25_sendmsg()
1649 lv = ax25_addr_build(skb->data, &ax25->source_addr, &sax.sax25_call, in ax25_sendmsg()
1729 DECLARE_SOCKADDR(struct sockaddr_ax25 *, sax, msg->msg_name); in ax25_recvmsg()
1731 memset(sax, 0, sizeof(struct full_sockaddr_ax25)); in ax25_recvmsg()
1734 sax->sax25_family = AF_AX25; in ax25_recvmsg()
1738 sax in ax25_recvmsg()
1496 struct sockaddr_ax25 sax; ax25_sendmsg() local
[all...]
/linux/net/netrom/
H A Daf_netrom.c841 struct full_sockaddr_ax25 *sax = (struct full_sockaddr_ax25 *)uaddr; in nr_getname() local
846 memset(&sax->fsa_ax25, 0, sizeof(struct sockaddr_ax25)); in nr_getname()
854 sax->fsa_ax25.sax25_family = AF_NETROM; in nr_getname()
855 sax->fsa_ax25.sax25_ndigis = 1; in nr_getname()
856 sax->fsa_ax25.sax25_call = nr->user_addr; in nr_getname()
857 memset(sax->fsa_digipeater, 0, sizeof(sax->fsa_digipeater)); in nr_getname()
858 sax->fsa_digipeater[0] = nr->dest_addr; in nr_getname()
861 sax->fsa_ax25.sax25_family = AF_NETROM; in nr_getname()
862 sax->fsa_ax25.sax25_ndigis = 0; in nr_getname()
863 sax->fsa_ax25.sax25_call = nr->source_addr; in nr_getname()
[all …]
/linux/Documentation/networking/
H A Dl2tp.rst394 struct sockaddr_pppol2tp sax;
402 sax.sa_family = AF_PPPOX;
403 sax.sa_protocol = PX_PROTO_OL2TP;
404 sax.pppol2tp.fd = tunnel_fd;
405 sax.pppol2tp.addr.sin_addr.s_addr = addr->sin_addr.s_addr;
406 sax.pppol2tp.addr.sin_port = addr->sin_port;
407 sax.pppol2tp.addr.sin_family = AF_INET;
408 sax.pppol2tp.s_tunnel = tunnel_id;
409 sax.pppol2tp.s_session = session_id;
410 sax.pppol2tp.d_tunnel = peer_tunnel_id;
[all …]
/linux/tools/testing/selftests/tc-testing/
H A DTdcResults.py111 from xml.sax.saxutils import escape