tag | line | file | source code |
sax | 466 | net/ax25/af_ax25.c | static int ax25_uid_ioctl(int cmd, struct sockaddr_ax25 *sax) |
sax | 473 | net/ax25/af_ax25.c | if (ax25cmp(&sax->sax25_call, &a->call) == 0) |
sax | 480 | net/ax25/af_ax25.c | if (ax25_findbyuid(sax->sax25_uid)) |
sax | 485 | net/ax25/af_ax25.c | a->uid = sax->sax25_uid; |
sax | 486 | net/ax25/af_ax25.c | a->call = sax->sax25_call; |
sax | 498 | net/ax25/af_ax25.c | if (ax25cmp(&((*l)->call), &(sax->sax25_call)) == 0) { |
sax | 1326 | net/ax25/af_ax25.c | struct full_sockaddr_ax25 *sax = (struct full_sockaddr_ax25 *)uaddr; |
sax | 1340 | net/ax25/af_ax25.c | sax->fsa_ax25.sax25_family = AF_AX25; |
sax | 1341 | net/ax25/af_ax25.c | memcpy(&sax->fsa_ax25.sax25_call, addr, sizeof(ax25_address)); |
sax | 1342 | net/ax25/af_ax25.c | sax->fsa_ax25.sax25_ndigis = 0; |
sax | 1348 | net/ax25/af_ax25.c | sax->fsa_ax25.sax25_ndigis = ndigi; |
sax | 1351 | net/ax25/af_ax25.c | memcpy(&sax->fsa_digipeater[i], &sk->ax25->digipeat->calls[i], sizeof(ax25_address)); |
sax | 1686 | net/ax25/af_ax25.c | struct sockaddr_ax25 sax; |
sax | 1736 | net/ax25/af_ax25.c | memcpy(&sax, usax, sizeof(sax)); |
sax | 1737 | net/ax25/af_ax25.c | if (sk->type == SOCK_SEQPACKET && memcmp(&sk->ax25->dest_addr, &sax.sax25_call, sizeof(ax25_address)) != 0) |
sax | 1746 | net/ax25/af_ax25.c | sax.sax25_family = AF_AX25; |
sax | 1747 | net/ax25/af_ax25.c | memcpy(&sax.sax25_call, &sk->ax25->dest_addr, sizeof(ax25_address)); |
sax | 1803 | net/ax25/af_ax25.c | asmptr += (lv = build_ax25_addr(asmptr, &sk->ax25->source_addr, &sax.sax25_call, dp, C_COMMAND, MODULUS)); |
sax | 1854 | net/ax25/af_ax25.c | struct sockaddr_ax25 *sax = (struct sockaddr_ax25 *)msg->msg_name; |
sax | 1868 | net/ax25/af_ax25.c | *addr_len = sizeof(*sax); |
sax | 1893 | net/ax25/af_ax25.c | if (sax) { |
sax | 1904 | net/ax25/af_ax25.c | sax->sax25_family = AF_AX25; |
sax | 1908 | net/ax25/af_ax25.c | sax->sax25_ndigis = digi.ndigi; |
sax | 1909 | net/ax25/af_ax25.c | memcpy(&sax->sax25_call, &dest, sizeof(ax25_address)); |
sax | 1913 | net/ax25/af_ax25.c | if (*addr_len == sizeof(struct full_sockaddr_ax25) && sax->sax25_ndigis != 0) { |
sax | 1915 | net/ax25/af_ax25.c | struct full_sockaddr_ax25 *fsa = (struct full_sockaddr_ax25 *)sax; |
sax | 886 | net/netrom/af_netrom.c | struct full_sockaddr_ax25 *sax = (struct full_sockaddr_ax25 *)uaddr; |
sax | 894 | net/netrom/af_netrom.c | sax->fsa_ax25.sax25_family = AF_NETROM; |
sax | 895 | net/netrom/af_netrom.c | sax->fsa_ax25.sax25_ndigis = 1; |
sax | 896 | net/netrom/af_netrom.c | memcpy(&sax->fsa_ax25.sax25_call, &sk->nr->user_addr, sizeof(ax25_address)); |
sax | 897 | net/netrom/af_netrom.c | memcpy(&sax->fsa_digipeater[0], &sk->nr->dest_addr, sizeof(ax25_address)); |
sax | 900 | net/netrom/af_netrom.c | sax->fsa_ax25.sax25_family = AF_NETROM; |
sax | 901 | net/netrom/af_netrom.c | sax->fsa_ax25.sax25_ndigis = 0; |
sax | 902 | net/netrom/af_netrom.c | memcpy(&sax->fsa_ax25.sax25_call, &sk->nr->source_addr, sizeof(ax25_address)); |
sax | 1031 | net/netrom/af_netrom.c | struct sockaddr_ax25 sax; |
sax | 1052 | net/netrom/af_netrom.c | if (msg->msg_namelen < sizeof(sax)) |
sax | 1054 | net/netrom/af_netrom.c | memcpy(&sax, usax, sizeof(sax)); |
sax | 1055 | net/netrom/af_netrom.c | if (sk->type == SOCK_SEQPACKET && memcmp(&sk->nr->dest_addr, &sax.sax25_call, sizeof(ax25_address)) != 0) |
sax | 1057 | net/netrom/af_netrom.c | if (sax.sax25_family != AF_NETROM) |
sax | 1062 | net/netrom/af_netrom.c | sax.sax25_family = AF_NETROM; |
sax | 1063 | net/netrom/af_netrom.c | memcpy(&sax.sax25_call, &sk->nr->dest_addr, sizeof(ax25_address)); |
sax | 1162 | net/netrom/af_netrom.c | struct sockaddr_ax25 *sax = (struct sockaddr_ax25 *)msg->msg_name; |
sax | 1176 | net/netrom/af_netrom.c | *addr_len = sizeof(*sax); |
sax | 1197 | net/netrom/af_netrom.c | if (sax != NULL) { |
sax | 1203 | net/netrom/af_netrom.c | memcpy(sax, &addr, sizeof(*sax)); |
sax | 1205 | net/netrom/af_netrom.c | *addr_len = sizeof(*sax); |