tag | line | file | source code |
sax | 454 | net/ax25/af_ax25.c | static int ax25_uid_ioctl(int cmd, struct sockaddr_ax25 *sax) |
sax | 461 | net/ax25/af_ax25.c | if (ax25cmp(&sax->sax25_call, &a->call) == 0) |
sax | 468 | net/ax25/af_ax25.c | if (ax25_findbyuid(sax->sax25_uid)) |
sax | 471 | net/ax25/af_ax25.c | a->uid = sax->sax25_uid; |
sax | 472 | net/ax25/af_ax25.c | a->call = sax->sax25_call; |
sax | 484 | net/ax25/af_ax25.c | if (ax25cmp(&((*l)->call), &(sax->sax25_call)) == 0) { |
sax | 1256 | net/ax25/af_ax25.c | struct full_sockaddr_ax25 *sax = (struct full_sockaddr_ax25 *)uaddr; |
sax | 1270 | net/ax25/af_ax25.c | sax->fsa_ax25.sax25_family = AF_AX25; |
sax | 1271 | net/ax25/af_ax25.c | memcpy(&sax->fsa_ax25.sax25_call, addr, sizeof(ax25_address)); |
sax | 1272 | net/ax25/af_ax25.c | sax->fsa_ax25.sax25_ndigis = 0; |
sax | 1278 | net/ax25/af_ax25.c | sax->fsa_ax25.sax25_ndigis = ndigi; |
sax | 1281 | net/ax25/af_ax25.c | memcpy(&sax->fsa_digipeater[i], &sk->ax25->digipeat->calls[i], sizeof(ax25_address)); |
sax | 1577 | net/ax25/af_ax25.c | struct sockaddr_ax25 sax; |
sax | 1601 | net/ax25/af_ax25.c | int ndigi = addr_len - sizeof(sax); |
sax | 1602 | net/ax25/af_ax25.c | if (addr_len < sizeof(sax)) |
sax | 1606 | net/ax25/af_ax25.c | if (addr_len > sizeof(sax)) { |
sax | 1609 | net/ax25/af_ax25.c | ax25_address *ap = (ax25_address *)(((char *)uaddr) + sizeof(sax)); |
sax | 1631 | net/ax25/af_ax25.c | memcpy(&sax, usax, sizeof(sax)); |
sax | 1632 | net/ax25/af_ax25.c | if (sk->type == SOCK_SEQPACKET && memcmp(&sk->ax25->dest_addr, &sax.sax25_call, sizeof(ax25_address)) != 0) |
sax | 1634 | net/ax25/af_ax25.c | if (sax.sax25_family != AF_AX25) |
sax | 1643 | net/ax25/af_ax25.c | sax.sax25_family = AF_AX25; |
sax | 1644 | net/ax25/af_ax25.c | memcpy(&sax.sax25_call, &sk->ax25->dest_addr, sizeof(ax25_address)); |
sax | 1700 | net/ax25/af_ax25.c | asmptr += (lv = build_ax25_addr(asmptr, &sk->ax25->source_addr, &sax.sax25_call, dp, C_COMMAND, MODULUS)); |
sax | 1734 | net/ax25/af_ax25.c | struct sockaddr_ax25 *sax = (struct sockaddr_ax25 *)sip; |
sax | 1748 | net/ax25/af_ax25.c | *addr_len = sizeof(*sax); |
sax | 1764 | net/ax25/af_ax25.c | if (sax) { |
sax | 1774 | net/ax25/af_ax25.c | memcpy(sax,&addr, sizeof(*sax)); |
sax | 1775 | net/ax25/af_ax25.c | addrptr += sizeof(*sax); |
sax | 1783 | net/ax25/af_ax25.c | *addr_len = sizeof(*sax) + AX25_ADDR_LEN * digi.ndigi; |
sax | 872 | net/netrom/af_netrom.c | struct full_sockaddr_ax25 *sax = (struct full_sockaddr_ax25 *)uaddr; |
sax | 880 | net/netrom/af_netrom.c | sax->fsa_ax25.sax25_family = AF_NETROM; |
sax | 881 | net/netrom/af_netrom.c | sax->fsa_ax25.sax25_ndigis = 1; |
sax | 882 | net/netrom/af_netrom.c | memcpy(&sax->fsa_ax25.sax25_call, &sk->nr->user_addr, sizeof(ax25_address)); |
sax | 883 | net/netrom/af_netrom.c | memcpy(&sax->fsa_digipeater[0], &sk->nr->dest_addr, sizeof(ax25_address)); |
sax | 886 | net/netrom/af_netrom.c | sax->fsa_ax25.sax25_family = AF_NETROM; |
sax | 887 | net/netrom/af_netrom.c | sax->fsa_ax25.sax25_ndigis = 0; |
sax | 888 | net/netrom/af_netrom.c | memcpy(&sax->fsa_ax25.sax25_call, &sk->nr->source_addr, sizeof(ax25_address)); |
sax | 1017 | net/netrom/af_netrom.c | struct sockaddr_ax25 sax; |
sax | 1038 | net/netrom/af_netrom.c | if (addr_len < sizeof(sax)) |
sax | 1040 | net/netrom/af_netrom.c | memcpy(&sax, usax, sizeof(sax)); |
sax | 1041 | net/netrom/af_netrom.c | if (sk->type == SOCK_SEQPACKET && memcmp(&sk->nr->dest_addr, &sax.sax25_call, sizeof(ax25_address)) != 0) |
sax | 1043 | net/netrom/af_netrom.c | if (sax.sax25_family != AF_NETROM) |
sax | 1048 | net/netrom/af_netrom.c | sax.sax25_family = AF_NETROM; |
sax | 1049 | net/netrom/af_netrom.c | memcpy(&sax.sax25_call, &sk->nr->dest_addr, sizeof(ax25_address)); |
sax | 1131 | net/netrom/af_netrom.c | struct sockaddr_ax25 *sax = (struct sockaddr_ax25 *)sip; |
sax | 1143 | net/netrom/af_netrom.c | *addr_len = sizeof(*sax); |
sax | 1157 | net/netrom/af_netrom.c | if (sax != NULL) { |
sax | 1163 | net/netrom/af_netrom.c | memcpy(sax, &addr, sizeof(*sax)); |
sax | 1165 | net/netrom/af_netrom.c | *addr_len = sizeof(*sax); |