| /net/sctp/ |
| A D | bind_addr.c | 119 INIT_LIST_HEAD(&bp->address_list); in sctp_bind_addr_init() 120 bp->port = port; in sctp_bind_addr_init() 137 void sctp_bind_addr_free(struct sctp_bind_addr *bp) in sctp_bind_addr_free() argument 140 sctp_bind_addr_clean(bp); in sctp_bind_addr_free() 160 addr->a.v4.sin_port = htons(bp->port); in sctp_add_bind_addr() 228 list_for_each(pos, &bp->address_list) { in sctp_bind_addrs_to_raw() 285 if (sctp_bind_addr_state(bp, &addr) != -1) in sctp_raw_to_bind_addrs() 303 sctp_bind_addr_clean(bp); in sctp_raw_to_bind_addrs() 548 struct sctp_bind_addr *bp; in sctp_is_ep_boundall() local 551 bp = &sctp_sk(sk)->ep->base.bind_addr; in sctp_is_ep_boundall() [all …]
|
| A D | endpointola.c | 307 struct sctp_bind_addr *bp; in sctp_endpoint_is_peeled_off() local 309 bp = &ep->base.bind_addr; in sctp_endpoint_is_peeled_off() 313 list_for_each_entry(addr, &bp->address_list, list) { in sctp_endpoint_is_peeled_off()
|
| A D | protocol.c | 134 int sctp_copy_local_addr_list(struct net *net, struct sctp_bind_addr *bp, in sctp_copy_local_addr_list() argument 163 laddr.v4.sin_port = htons(bp->port); in sctp_copy_local_addr_list() 164 if (sctp_bind_addr_state(bp, &laddr) != -1) in sctp_copy_local_addr_list() 167 error = sctp_add_bind_addr(bp, &addr->a, sizeof(addr->a), in sctp_copy_local_addr_list() 423 struct sctp_bind_addr *bp; in sctp_v4_get_dst() local 467 bp = &asoc->base.bind_addr; in sctp_v4_get_dst() 473 sctp_v4_dst_saddr(&dst_saddr, fl4, htons(bp->port)); in sctp_v4_get_dst() 475 list_for_each_entry_rcu(laddr, &bp->address_list, list) { in sctp_v4_get_dst() 496 list_for_each_entry_rcu(laddr, &bp->address_list, list) { in sctp_v4_get_dst()
|
| A D | socket.c | 408 if (bp->port) { in sctp_do_bind() 410 snum = bp->port; in sctp_do_bind() 411 else if (snum != bp->port) { in sctp_do_bind() 437 if (!bp->port) { in sctp_do_bind() 563 struct sctp_bind_addr *bp; in sctp_send_asconf_add_ip() local 618 bp = &asoc->base.bind_addr; in sctp_send_asconf_add_ip() 619 p = bp->address_list.next; in sctp_send_asconf_add_ip() 766 struct sctp_bind_addr *bp; in sctp_send_asconf_del_ip() local 824 bp = &asoc->base.bind_addr; in sctp_send_asconf_del_ip() 839 htons(bp->port); in sctp_send_asconf_del_ip() [all …]
|
| A D | ipv6.c | 280 struct sctp_bind_addr *bp; in sctp_v6_get_dst() local 334 bp = &asoc->base.bind_addr; in sctp_v6_get_dst() 343 sctp_v6_to_addr(&dst_saddr, &fl6->saddr, htons(bp->port)); in sctp_v6_get_dst() 345 list_for_each_entry_rcu(laddr, &bp->address_list, list) { in sctp_v6_get_dst() 372 list_for_each_entry_rcu(laddr, &bp->address_list, list) { in sctp_v6_get_dst()
|
| A D | sm_make_chunk.c | 199 const struct sctp_bind_addr *bp, in sctp_make_init() argument 225 addrs = sctp_bind_addrs_to_raw(bp, &addrs_len, gfp); in sctp_make_init() 3345 struct sctp_bind_addr *bp = &asoc->base.bind_addr; in sctp_asconf_param_success() local 3356 if (!af->from_addr_param(&addr, addr_param, htons(bp->port), 0)) in sctp_asconf_param_success() 3365 list_for_each_entry(saddr, &bp->address_list, list) { in sctp_asconf_param_success() 3377 sctp_del_bind_addr(bp, &addr); in sctp_asconf_param_success()
|
| A D | sm_statefuns.c | 2538 struct sctp_bind_addr *bp; in sctp_sf_do_5_2_6_stale() local 2574 bp = (struct sctp_bind_addr *) &asoc->base.bind_addr; in sctp_sf_do_5_2_6_stale() 2575 reply = sctp_make_init(asoc, bp, GFP_ATOMIC, sizeof(bht)); in sctp_sf_do_5_2_6_stale() 5918 struct sctp_bind_addr *bp; in sctp_sf_t1_init_timer_expire() local 5925 bp = (struct sctp_bind_addr *) &asoc->base.bind_addr; in sctp_sf_t1_init_timer_expire() 5926 repl = sctp_make_init(asoc, bp, GFP_ATOMIC, 0); in sctp_sf_t1_init_timer_expire()
|
| /net/ax25/ |
| A D | ax25_ip.c | 102 unsigned char *bp = skb->data; in ax25_ip_xmit() local 111 dst = (ax25_address *)(bp + 1); in ax25_ip_xmit() 112 src = (ax25_address *)(bp + 8); in ax25_ip_xmit() 131 if (bp[16] == AX25_P_IP) { in ax25_ip_xmit() 167 bp = ourskb->data; in ax25_ip_xmit() 186 bp[7] &= ~AX25_CBIT; in ax25_ip_xmit() 187 bp[7] &= ~AX25_EBIT; in ax25_ip_xmit() 188 bp[7] |= AX25_SSSID_SPARE; in ax25_ip_xmit() 190 bp[14] &= ~AX25_CBIT; in ax25_ip_xmit() 191 bp[14] |= AX25_EBIT; in ax25_ip_xmit() [all …]
|
| A D | ax25_route.c | 380 unsigned char *bp; in ax25_rt_build_path() local 393 bp = skb_push(skb, len); in ax25_rt_build_path() 395 ax25_addr_build(bp, src, dest, digi, AX25_COMMAND, AX25_MODULUS); in ax25_rt_build_path()
|
| /net/sunrpc/ |
| A D | cache.c | 1149 *bpp = bp; in qword_add() 1166 bp = hex_byte_pack(bp, *buf++); in qword_addhex() 1176 *bpp = bp; in qword_addhex() 1292 while (*bp == ' ') bp++; in qword_get() 1294 if (bp[0] == '\\' && bp[1] == 'x') { in qword_get() 1296 bp += 2; in qword_get() 1314 while (*bp != ' ' && *bp != '\n' && *bp && len < bufsize-1) { in qword_get() 1316 isodigit(bp[1]) && (bp[1] <= '3') && in qword_get() 1320 bp++; in qword_get() 1332 if (*bp != ' ' && *bp != '\n' && *bp != '\0') in qword_get() [all …]
|
| /net/ipv6/ |
| A D | tcp_ao.c | 119 struct tcp6_pseudohdr *bp; in tcp_v6_ao_hash_pseudoheader() local 122 bp = hp->scratch; in tcp_v6_ao_hash_pseudoheader() 124 bp->saddr = *saddr; in tcp_v6_ao_hash_pseudoheader() 125 bp->daddr = *daddr; in tcp_v6_ao_hash_pseudoheader() 126 bp->len = cpu_to_be32(nbytes); in tcp_v6_ao_hash_pseudoheader() 127 bp->protocol = cpu_to_be32(IPPROTO_TCP); in tcp_v6_ao_hash_pseudoheader() 129 sg_init_one(&sg, bp, sizeof(*bp)); in tcp_v6_ao_hash_pseudoheader() 130 ahash_request_set_crypt(hp->req, &sg, NULL, sizeof(*bp)); in tcp_v6_ao_hash_pseudoheader()
|
| A D | tcp_ipv6.c | 698 struct tcp6_pseudohdr *bp; in tcp_v6_md5_hash_headers() local 702 bp = hp->scratch; in tcp_v6_md5_hash_headers() 704 bp->saddr = *saddr; in tcp_v6_md5_hash_headers() 705 bp->daddr = *daddr; in tcp_v6_md5_hash_headers() 706 bp->protocol = cpu_to_be32(IPPROTO_TCP); in tcp_v6_md5_hash_headers() 707 bp->len = cpu_to_be32(nbytes); in tcp_v6_md5_hash_headers() 709 _th = (struct tcphdr *)(bp + 1); in tcp_v6_md5_hash_headers() 713 sg_init_one(&sg, bp, sizeof(*bp) + sizeof(*th)); in tcp_v6_md5_hash_headers() 715 sizeof(*bp) + sizeof(*th)); in tcp_v6_md5_hash_headers()
|
| A D | route.c | 6771 struct inet_peer_base *bp = kmalloc(sizeof(*bp), GFP_KERNEL); in ipv6_inetpeer_init() local 6773 if (!bp) in ipv6_inetpeer_init() 6775 inet_peer_base_init(bp); in ipv6_inetpeer_init() 6776 net->ipv6.peers = bp; in ipv6_inetpeer_init() 6782 struct inet_peer_base *bp = net->ipv6.peers; in ipv6_inetpeer_exit() local 6785 inetpeer_invalidate_tree(bp); in ipv6_inetpeer_exit() 6786 kfree(bp); in ipv6_inetpeer_exit()
|
| /net/bridge/netfilter/ |
| A D | ebt_among.c | 84 const __be32 *bp; in get_ip_dst() local 92 bp = skb_header_pointer(skb, sizeof(struct arphdr) + in get_ip_dst() 95 if (bp == NULL) in get_ip_dst() 97 *addr = *bp; in get_ip_dst() 115 const __be32 *bp; in get_ip_src() local 123 bp = skb_header_pointer(skb, sizeof(struct arphdr) + in get_ip_src() 125 if (bp == NULL) in get_ip_src() 127 *addr = *bp; in get_ip_src()
|
| /net/ipv4/ |
| A D | inetpeer.c | 57 void inet_peer_base_init(struct inet_peer_base *bp) in inet_peer_base_init() argument 59 bp->rb_root = RB_ROOT; in inet_peer_base_init() 60 seqlock_init(&bp->lock); in inet_peer_base_init() 61 bp->total = 0; in inet_peer_base_init()
|
| A D | tcp_ao.c | 442 struct tcp4_pseudohdr *bp; in tcp_v4_ao_hash_pseudoheader() local 445 bp = hp->scratch; in tcp_v4_ao_hash_pseudoheader() 446 bp->saddr = saddr; in tcp_v4_ao_hash_pseudoheader() 447 bp->daddr = daddr; in tcp_v4_ao_hash_pseudoheader() 448 bp->pad = 0; in tcp_v4_ao_hash_pseudoheader() 449 bp->protocol = IPPROTO_TCP; in tcp_v4_ao_hash_pseudoheader() 452 sg_init_one(&sg, bp, sizeof(*bp)); in tcp_v4_ao_hash_pseudoheader() 516 __be32 *bp; in tcp_ao_hash_sne() local 518 bp = (__be32 *)hp->scratch; in tcp_ao_hash_sne() 519 *bp = htonl(sne); in tcp_ao_hash_sne() [all …]
|
| A D | tcp_ipv4.c | 1584 struct tcp4_pseudohdr *bp; local 1588 bp = hp->scratch; 1589 bp->saddr = saddr; 1590 bp->daddr = daddr; 1591 bp->pad = 0; 1592 bp->protocol = IPPROTO_TCP; 1593 bp->len = cpu_to_be16(nbytes); 1595 _th = (struct tcphdr *)(bp + 1); 1599 sg_init_one(&sg, bp, sizeof(*bp) + sizeof(*th)); 1601 sizeof(*bp) + sizeof(*th));
|
| A D | route.c | 3681 struct inet_peer_base *bp = kmalloc(sizeof(*bp), GFP_KERNEL); in ipv4_inetpeer_init() local 3683 if (!bp) in ipv4_inetpeer_init() 3685 inet_peer_base_init(bp); in ipv4_inetpeer_init() 3686 net->ipv4.peers = bp; in ipv4_inetpeer_init() 3692 struct inet_peer_base *bp = net->ipv4.peers; in ipv4_inetpeer_exit() local 3695 inetpeer_invalidate_tree(bp); in ipv4_inetpeer_exit() 3696 kfree(bp); in ipv4_inetpeer_exit()
|