Searched refs:sax (Results 1 – 3 of 3) sorted by relevance
/net/ax25/ |
D | ax25_uid.c | 69 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()
|
D | af_ax25.c | 1488 struct sockaddr_ax25 sax; in ax25_sendmsg() local 1567 sax = *usax; in ax25_sendmsg() 1569 ax25cmp(&ax25->dest_addr, &sax.sax25_call)) { in ax25_sendmsg() 1587 sax.sax25_family = AF_AX25; in ax25_sendmsg() 1588 sax.sax25_call = ax25->dest_addr; in ax25_sendmsg() 1635 lv = ax25_addr_build(skb->data, &ax25->source_addr, &sax.sax25_call, in ax25_sendmsg() 1715 DECLARE_SOCKADDR(struct sockaddr_ax25 *, sax, msg->msg_name); in ax25_recvmsg() 1717 memset(sax, 0, sizeof(struct full_sockaddr_ax25)); in ax25_recvmsg() 1720 sax->sax25_family = AF_AX25; in ax25_recvmsg() 1724 sax->sax25_ndigis = digi.ndigi; in ax25_recvmsg() [all …]
|
/net/netrom/ |
D | af_netrom.c | 841 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 …]
|