/net/ipv6/ |
D | output_core.c | 24 struct in6_addr *addrs; in ipv6_proxy_select_ident() local 27 addrs = skb_header_pointer(skb, in ipv6_proxy_select_ident() 31 if (!addrs) in ipv6_proxy_select_ident() 37 hash = __ipv6_addr_jhash(&addrs[1], ip6_proxy_idents_hashrnd); in ipv6_proxy_select_ident() 38 hash = __ipv6_addr_jhash(&addrs[0], hash); in ipv6_proxy_select_ident()
|
D | ah6.c | 228 struct in6_addr *addrs; in ipv6_rearrange_rthdr() local 245 addrs = ((struct rt0_hdr *)rthdr)->addr; in ipv6_rearrange_rthdr() 246 final_addr = addrs[segments - 1]; in ipv6_rearrange_rthdr() 248 addrs += segments - segments_left; in ipv6_rearrange_rthdr() 249 memmove(addrs + 1, addrs, (segments_left - 1) * sizeof(*addrs)); in ipv6_rearrange_rthdr() 251 addrs[0] = iph->daddr; in ipv6_rearrange_rthdr()
|
/net/phonet/ |
D | pn_dev.c | 70 bitmap_zero(pnd->addrs, 64); in __phonet_device_alloc() 118 for_each_set_bit(addr, pnd->addrs, 64) in phonet_device_destroy() 159 else if (test_and_set_bit(addr >> 2, pnd->addrs)) in phonet_address_add() 173 if (!pnd || !test_and_clear_bit(addr >> 2, pnd->addrs)) { in phonet_address_del() 176 } else if (bitmap_empty(pnd->addrs, 64)) in phonet_address_del() 197 BUG_ON(bitmap_empty(pnd->addrs, 64)); in phonet_address_get() 200 if (test_bit(daddr >> 2, pnd->addrs)) in phonet_address_get() 203 saddr = find_first_bit(pnd->addrs, 64) << 2; in phonet_address_get() 235 if (test_bit(addr >> 2, pnd->addrs)) { in phonet_address_lookup()
|
D | pn_netlink.c | 149 for_each_set_bit(addr, pnd->addrs, 64) { in getaddr_dumpit()
|
/net/core/ |
D | filter.c | 317 int *addrs = NULL; in bpf_convert_filter() local 327 addrs = kcalloc(len, sizeof(*addrs), GFP_KERNEL); in bpf_convert_filter() 328 if (!addrs) in bpf_convert_filter() 344 if (addrs) in bpf_convert_filter() 345 addrs[i] = new_insn - new_prog; in bpf_convert_filter() 398 insn->off = addrs ? addrs[target] - addrs[i] - 1 : 0; \ in bpf_convert_filter() 559 kfree(addrs); in bpf_convert_filter() 563 kfree(addrs); in bpf_convert_filter()
|
/net/sctp/ |
D | socket.c | 481 static int sctp_bindx_add(struct sock *sk, struct sockaddr *addrs, int addrcnt) in sctp_bindx_add() argument 490 addrs, addrcnt); in sctp_bindx_add() 492 addr_buf = addrs; in sctp_bindx_add() 513 sctp_bindx_rem(sk, addrs, cnt); in sctp_bindx_add() 532 struct sockaddr *addrs, in sctp_send_asconf_add_ip() argument 557 __func__, sk, addrs, addrcnt); in sctp_send_asconf_add_ip() 574 addr_buf = addrs; in sctp_send_asconf_add_ip() 597 chunk = sctp_make_asconf_update_ip(asoc, &laddr->a, addrs, in sctp_send_asconf_add_ip() 607 addr_buf = addrs; in sctp_send_asconf_add_ip() 655 static int sctp_bindx_rem(struct sock *sk, struct sockaddr *addrs, int addrcnt) in sctp_bindx_rem() argument [all …]
|
D | sm_make_chunk.c | 224 union sctp_params addrs; in sctp_make_init() local 246 addrs = sctp_bind_addrs_to_raw(bp, &addrs_len, gfp); in sctp_make_init() 328 sctp_addto_chunk(retval, addrs_len, addrs.v); in sctp_make_init() 378 kfree(addrs.v); in sctp_make_init() 388 union sctp_params addrs; in sctp_make_init_ack() local 405 addrs = sctp_bind_addrs_to_raw(&asoc->base.bind_addr, &addrs_len, gfp); in sctp_make_init_ack() 417 addrs.v, addrs_len); in sctp_make_init_ack() 485 retval->param_hdr.v = sctp_addto_chunk(retval, addrs_len, addrs.v); in sctp_make_init_ack() 524 kfree(addrs.v); in sctp_make_init_ack() 2799 struct sockaddr *addrs, in sctp_make_asconf_update_ip() argument [all …]
|
D | bind_addr.c | 402 const union sctp_addr *addrs, in sctp_find_unmatch_addr() argument 417 addr_buf = (union sctp_addr *)addrs; in sctp_find_unmatch_addr()
|
/net/ipv4/ |
D | ipconfig.c | 1585 static int __init ip_auto_config_setup(char *addrs) in ip_auto_config_setup() argument 1597 if (ic_proto_name(addrs)) in ip_auto_config_setup() 1601 if (*addrs == 0 || in ip_auto_config_setup() 1602 strcmp(addrs, "off") == 0 || in ip_auto_config_setup() 1603 strcmp(addrs, "none") == 0) { in ip_auto_config_setup() 1611 ip = addrs; in ip_auto_config_setup() 1677 static int __init nfsaddrs_config_setup(char *addrs) in nfsaddrs_config_setup() argument 1679 return ip_auto_config_setup(addrs); in nfsaddrs_config_setup() 1683 static int __init vendor_class_identifier_setup(char *addrs) in vendor_class_identifier_setup() argument 1685 if (strlcpy(vendor_class_identifier, addrs, in vendor_class_identifier_setup()
|
/net/ipv6/netfilter/ |
D | ip6t_rt.c | 142 if (ipv6_addr_equal(ap, &rtinfo->addrs[i])) { in rt_mt6() 171 if (!ipv6_addr_equal(ap, &rtinfo->addrs[temp])) in rt_mt6()
|