tag | line | file | source code |
sax | 448 | net/ax25/af_ax25.c | static int ax25_uid_ioctl(int cmd, struct sockaddr_ax25 *sax) |
sax | 455 | net/ax25/af_ax25.c | if (ax25cmp(&sax->sax25_call, &a->call) == 0) |
sax | 462 | net/ax25/af_ax25.c | if (ax25_findbyuid(sax->sax25_uid)) |
sax | 465 | net/ax25/af_ax25.c | a->uid = sax->sax25_uid; |
sax | 466 | net/ax25/af_ax25.c | a->call = sax->sax25_call; |
sax | 478 | net/ax25/af_ax25.c | if (ax25cmp(&((*l)->call), &(sax->sax25_call)) == 0) { |
sax | 1231 | net/ax25/af_ax25.c | struct full_sockaddr_ax25 *sax = (struct full_sockaddr_ax25 *)uaddr; |
sax | 1245 | net/ax25/af_ax25.c | sax->fsa_ax25.sax25_family = AF_AX25; |
sax | 1246 | net/ax25/af_ax25.c | memcpy(&sax->fsa_ax25.sax25_call, addr, sizeof(ax25_address)); |
sax | 1247 | net/ax25/af_ax25.c | sax->fsa_ax25.sax25_ndigis = 0; |
sax | 1253 | net/ax25/af_ax25.c | sax->fsa_ax25.sax25_ndigis = ndigi; |
sax | 1256 | net/ax25/af_ax25.c | memcpy(&sax->fsa_digipeater[i], &sk->ax25->digipeat->calls[i], sizeof(ax25_address)); |
sax | 1542 | net/ax25/af_ax25.c | struct sockaddr_ax25 sax; |
sax | 1566 | net/ax25/af_ax25.c | int ndigi = addr_len - sizeof(sax); |
sax | 1567 | net/ax25/af_ax25.c | if (addr_len < sizeof(sax)) |
sax | 1571 | net/ax25/af_ax25.c | if (addr_len > sizeof(sax)) { |
sax | 1574 | net/ax25/af_ax25.c | ax25_address *ap = (ax25_address *)(((char *)uaddr) + sizeof(sax)); |
sax | 1596 | net/ax25/af_ax25.c | memcpy(&sax, usax, sizeof(sax)); |
sax | 1597 | net/ax25/af_ax25.c | if (sk->type == SOCK_SEQPACKET && memcmp(&sk->ax25->dest_addr, &sax.sax25_call, sizeof(ax25_address)) != 0) |
sax | 1599 | net/ax25/af_ax25.c | if (sax.sax25_family != AF_AX25) |
sax | 1608 | net/ax25/af_ax25.c | sax.sax25_family = AF_AX25; |
sax | 1609 | net/ax25/af_ax25.c | memcpy(&sax.sax25_call, &sk->ax25->dest_addr, sizeof(ax25_address)); |
sax | 1665 | net/ax25/af_ax25.c | asmptr += (lv = build_ax25_addr(asmptr, &sk->ax25->source_addr, &sax.sax25_call, dp, C_COMMAND)); |
sax | 1699 | net/ax25/af_ax25.c | struct sockaddr_ax25 *sax = (struct sockaddr_ax25 *)sip; |
sax | 1713 | net/ax25/af_ax25.c | *addr_len = sizeof(*sax); |
sax | 1729 | net/ax25/af_ax25.c | if (sax) { |
sax | 1739 | net/ax25/af_ax25.c | memcpy(sax,&addr, sizeof(*sax)); |
sax | 1740 | net/ax25/af_ax25.c | addrptr += sizeof(*sax); |
sax | 1748 | net/ax25/af_ax25.c | *addr_len = sizeof(*sax) + AX25_ADDR_LEN * digi.ndigi; |
sax | 841 | net/netrom/af_netrom.c | struct full_sockaddr_ax25 *sax = (struct full_sockaddr_ax25 *)uaddr; |
sax | 849 | net/netrom/af_netrom.c | sax->fsa_ax25.sax25_family = AF_NETROM; |
sax | 850 | net/netrom/af_netrom.c | sax->fsa_ax25.sax25_ndigis = 1; |
sax | 851 | net/netrom/af_netrom.c | memcpy(&sax->fsa_ax25.sax25_call, &sk->nr->user_addr, sizeof(ax25_address)); |
sax | 852 | net/netrom/af_netrom.c | memcpy(&sax->fsa_digipeater[0], &sk->nr->dest_addr, sizeof(ax25_address)); |
sax | 855 | net/netrom/af_netrom.c | sax->fsa_ax25.sax25_family = AF_NETROM; |
sax | 856 | net/netrom/af_netrom.c | sax->fsa_ax25.sax25_ndigis = 0; |
sax | 857 | net/netrom/af_netrom.c | memcpy(&sax->fsa_ax25.sax25_call, &sk->nr->source_addr, sizeof(ax25_address)); |
sax | 986 | net/netrom/af_netrom.c | struct sockaddr_ax25 sax; |
sax | 1004 | net/netrom/af_netrom.c | if (addr_len < sizeof(sax)) |
sax | 1006 | net/netrom/af_netrom.c | memcpy(&sax, usax, sizeof(sax)); |
sax | 1007 | net/netrom/af_netrom.c | if (sk->type == SOCK_SEQPACKET && memcmp(&sk->nr->dest_addr, &sax.sax25_call, sizeof(ax25_address)) != 0) |
sax | 1009 | net/netrom/af_netrom.c | if (sax.sax25_family != AF_NETROM) |
sax | 1014 | net/netrom/af_netrom.c | sax.sax25_family = AF_NETROM; |
sax | 1015 | net/netrom/af_netrom.c | memcpy(&sax.sax25_call, &sk->nr->dest_addr, sizeof(ax25_address)); |
sax | 1097 | net/netrom/af_netrom.c | struct sockaddr_ax25 *sax = (struct sockaddr_ax25 *)sip; |
sax | 1109 | net/netrom/af_netrom.c | *addr_len = sizeof(*sax); |
sax | 1123 | net/netrom/af_netrom.c | if (sax != NULL) { |
sax | 1129 | net/netrom/af_netrom.c | memcpy(sax, &addr, sizeof(*sax)); |
sax | 1131 | net/netrom/af_netrom.c | *addr_len = sizeof(*sax); |