/net/ipv6/ |
D | esp6.c | 157 int alen; in esp6_output() local 171 alen = crypto_aead_authsize(aead); in esp6_output() 188 err = skb_cow_data(skb, tfclen + plen + alen, &trailer); in esp6_output() 228 pskb_put(skb, trailer, clen - skb->len + alen); in esp6_output() 240 clen + alen); in esp6_output() 276 int alen = crypto_aead_authsize(aead); in esp_input_done2() local 288 if (skb_copy_bits(skb, skb->len - alen - 2, nexthdr, 2)) in esp_input_done2() 293 if (padlen + 2 + alen >= elen) { in esp_input_done2() 295 "padlen=%d, elen=%d\n", padlen + 2, elen - alen); in esp_input_done2() 301 pskb_trim(skb, skb->len - alen - padlen - 2); in esp_input_done2()
|
/net/ipv4/ |
D | esp4.c | 131 int alen; in esp_output() local 144 alen = crypto_aead_authsize(aead); in esp_output() 161 err = skb_cow_data(skb, tfclen + plen + alen, &trailer); in esp_output() 201 pskb_put(skb, trailer, clen - skb->len + alen); in esp_output() 248 clen + alen); in esp_output() 285 int alen = crypto_aead_authsize(aead); in esp_input_done2() local 297 if (skb_copy_bits(skb, skb->len-alen-2, nexthdr, 2)) in esp_input_done2() 302 if (padlen + 2 + alen >= elen) in esp_input_done2() 347 pskb_trim(skb, skb->len - alen - padlen - 2); in esp_input_done2()
|
/net/packet/ |
D | internal.h | 9 unsigned short alen; member
|
D | diag.c | 58 dml->pdmc_alen = ml->alen; in pdiag_put_mclist()
|
D | af_packet.c | 2916 if (i->alen != dev->addr_len) in packet_dev_mc() 2930 if (i->alen != dev->addr_len) in packet_dev_mc() 2978 ml->alen == mreq->mr_alen && in packet_mc_add() 2979 memcmp(ml->addr, mreq->mr_address, ml->alen) == 0) { in packet_mc_add() 2989 i->alen = mreq->mr_alen; in packet_mc_add() 2990 memcpy(i->addr, mreq->mr_address, i->alen); in packet_mc_add() 3014 ml->alen == mreq->mr_alen && in packet_mc_drop() 3015 memcmp(ml->addr, mreq->mr_address, ml->alen) == 0) { in packet_mc_drop()
|
/net/bluetooth/ |
D | l2cap_sock.c | 52 static int l2cap_sock_bind(struct socket *sock, struct sockaddr *addr, int alen) in l2cap_sock_bind() argument 65 len = min_t(unsigned int, sizeof(la), alen); in l2cap_sock_bind() 117 int alen, int flags) in l2cap_sock_connect() argument 126 if (!addr || alen < sizeof(addr->sa_family) || in l2cap_sock_connect() 131 len = min_t(unsigned int, sizeof(la), alen); in l2cap_sock_connect()
|
D | sco.c | 451 static int sco_sock_bind(struct socket *sock, struct sockaddr *addr, int alen) in sco_sock_bind() argument 463 len = min_t(unsigned int, sizeof(sa), alen); in sco_sock_bind() 488 static int sco_sock_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) in sco_sock_connect() argument 500 len = min_t(unsigned int, sizeof(sa), alen); in sco_sock_connect()
|
/net/nfc/ |
D | llcp_sock.c | 72 static int llcp_sock_bind(struct socket *sock, struct sockaddr *addr, int alen) in llcp_sock_bind() argument 87 len = min_t(unsigned int, sizeof(llcp_addr), alen); in llcp_sock_bind() 146 int alen) in llcp_raw_sock_bind() argument 161 len = min_t(unsigned int, sizeof(llcp_addr), alen); in llcp_raw_sock_bind()
|
/net/bluetooth/rfcomm/ |
D | sock.c | 374 static int rfcomm_sock_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) in rfcomm_sock_connect() argument 383 if (alen < sizeof(struct sockaddr_rc) || in rfcomm_sock_connect()
|
/net/unix/ |
D | af_unix.c | 1074 int alen, int flags) in unix_dgram_connect() argument 1084 err = unix_mkname(sunaddr, alen, &hash); in unix_dgram_connect() 1087 alen = err; in unix_dgram_connect() 1094 other = unix_find_other(net, sunaddr, alen, sock->type, hash, &err); in unix_dgram_connect()
|
/net/iucv/ |
D | af_iucv.c | 839 int alen, int flags) in iucv_sock_connect() argument 846 if (addr->sa_family != AF_IUCV || alen < sizeof(struct sockaddr_iucv)) in iucv_sock_connect()
|
/net/netlink/ |
D | af_netlink.c | 1332 int alen, int flags) in netlink_connect() argument 1339 if (alen < sizeof(addr->sa_family)) in netlink_connect()
|