Home
last modified time | relevance | path

Searched refs:addrs (Results 1 – 8 of 8) sorted by relevance

/net/phonet/
Dpn_dev.c46 bitmap_zero(pnd->addrs, 64); in __phonet_device_alloc()
103 else if (test_and_set_bit(addr >> 2, pnd->addrs)) in phonet_address_add()
116 if (!pnd || !test_and_clear_bit(addr >> 2, pnd->addrs)) in phonet_address_del()
118 else if (bitmap_empty(pnd->addrs, 64)) in phonet_address_del()
132 BUG_ON(bitmap_empty(pnd->addrs, 64)); in phonet_address_get()
135 if (!test_bit(addr >> 2, pnd->addrs)) in phonet_address_get()
136 addr = find_first_bit(pnd->addrs, 64) << 2; in phonet_address_get()
156 if (test_bit(addr >> 2, pnd->addrs)) { in phonet_address_lookup()
Dpn_netlink.c143 for (addr = find_first_bit(pnd->addrs, 64); addr < 64; in getaddr_dumpit()
144 addr = find_next_bit(pnd->addrs, 64, 1+addr)) { in getaddr_dumpit()
/net/ipv6/
Dah6.c151 struct in6_addr *addrs; in ipv6_rearrange_rthdr() local
168 addrs = ((struct rt0_hdr *)rthdr)->addr; in ipv6_rearrange_rthdr()
169 ipv6_addr_copy(&final_addr, addrs + segments - 1); in ipv6_rearrange_rthdr()
171 addrs += segments - segments_left; in ipv6_rearrange_rthdr()
172 memmove(addrs + 1, addrs, (segments_left - 1) * sizeof(*addrs)); in ipv6_rearrange_rthdr()
174 ipv6_addr_copy(addrs, &iph->daddr); in ipv6_rearrange_rthdr()
/net/sctp/
Dsocket.c460 static int sctp_bindx_add(struct sock *sk, struct sockaddr *addrs, int addrcnt) in sctp_bindx_add() argument
469 sk, addrs, addrcnt); in sctp_bindx_add()
471 addr_buf = addrs; in sctp_bindx_add()
492 sctp_bindx_rem(sk, addrs, cnt); in sctp_bindx_add()
511 struct sockaddr *addrs, in sctp_send_asconf_add_ip() argument
535 __func__, sk, addrs, addrcnt); in sctp_send_asconf_add_ip()
553 addr_buf = addrs; in sctp_send_asconf_add_ip()
576 chunk = sctp_make_asconf_update_ip(asoc, &laddr->a, addrs, in sctp_send_asconf_add_ip()
590 addr_buf = addrs; in sctp_send_asconf_add_ip()
620 static int sctp_bindx_rem(struct sock *sk, struct sockaddr *addrs, int addrcnt) in sctp_bindx_rem() argument
[all …]
Dsm_make_chunk.c176 union sctp_params addrs; in sctp_make_init() local
198 addrs = sctp_bind_addrs_to_raw(bp, &addrs_len, gfp); in sctp_make_init()
276 sctp_addto_chunk(retval, addrs_len, addrs.v); in sctp_make_init()
324 kfree(addrs.v); in sctp_make_init()
334 union sctp_params addrs; in sctp_make_init_ack() local
350 addrs = sctp_bind_addrs_to_raw(&asoc->base.bind_addr, &addrs_len, gfp); in sctp_make_init_ack()
362 addrs.v, addrs_len); in sctp_make_init_ack()
420 retval->param_hdr.v = sctp_addto_chunk(retval, addrs_len, addrs.v); in sctp_make_init_ack()
469 kfree(addrs.v); in sctp_make_init_ack()
2667 struct sockaddr *addrs, in sctp_make_asconf_update_ip() argument
[all …]
Dbind_addr.c418 const union sctp_addr *addrs, in sctp_find_unmatch_addr() argument
433 addr_buf = (union sctp_addr *)addrs; in sctp_find_unmatch_addr()
/net/ipv4/
Dipconfig.c1442 static int __init ip_auto_config_setup(char *addrs) in ip_auto_config_setup() argument
1454 if (ic_proto_name(addrs)) in ip_auto_config_setup()
1458 if (*addrs == 0 || in ip_auto_config_setup()
1459 strcmp(addrs, "off") == 0 || in ip_auto_config_setup()
1460 strcmp(addrs, "none") == 0) { in ip_auto_config_setup()
1466 ip = addrs; in ip_auto_config_setup()
1517 static int __init nfsaddrs_config_setup(char *addrs) in nfsaddrs_config_setup() argument
1519 return ip_auto_config_setup(addrs); in nfsaddrs_config_setup()
1522 static int __init vendor_class_identifier_setup(char *addrs) in vendor_class_identifier_setup() argument
1524 if (strlcpy(vendor_class_identifier, addrs, in vendor_class_identifier_setup()
/net/ipv6/netfilter/
Dip6t_rt.c145 if (ipv6_addr_equal(ap, &rtinfo->addrs[i])) { in rt_mt6()
174 if (!ipv6_addr_equal(ap, &rtinfo->addrs[temp])) in rt_mt6()