Home
last modified time | relevance | path

Searched refs:ipaddr (Results 1 – 25 of 25) sorted by relevance

/net/6lowpan/
Diphc.c157 lowpan_iphc_uncompress_802154_lladdr(struct in6_addr *ipaddr, in lowpan_iphc_uncompress_802154_lladdr() argument
166 lowpan_iphc_uncompress_eui64_lladdr(ipaddr, eui64); in lowpan_iphc_uncompress_802154_lladdr()
175 ipaddr->s6_addr[0] = 0xFE; in lowpan_iphc_uncompress_802154_lladdr()
176 ipaddr->s6_addr[1] = 0x80; in lowpan_iphc_uncompress_802154_lladdr()
177 ipaddr->s6_addr[11] = 0xFF; in lowpan_iphc_uncompress_802154_lladdr()
178 ipaddr->s6_addr[12] = 0xFE; in lowpan_iphc_uncompress_802154_lladdr()
179 ieee802154_le16_to_be16(&ipaddr->s6_addr16[7], in lowpan_iphc_uncompress_802154_lladdr()
282 struct in6_addr *ipaddr, in lowpan_iphc_uncompress_lladdr() argument
287 lowpan_iphc_uncompress_eui48_lladdr(ipaddr, lladdr); in lowpan_iphc_uncompress_lladdr()
290 lowpan_iphc_uncompress_eui64_lladdr(ipaddr, lladdr); in lowpan_iphc_uncompress_lladdr()
[all …]
/net/rds/
Dib_rdma.c43 static struct rds_ib_device *rds_ib_get_device(__be32 ipaddr) in rds_ib_get_device() argument
51 if (i_ipaddr->ipaddr == ipaddr) { in rds_ib_get_device()
63 static int rds_ib_add_ipaddr(struct rds_ib_device *rds_ibdev, __be32 ipaddr) in rds_ib_add_ipaddr() argument
71 i_ipaddr->ipaddr = ipaddr; in rds_ib_add_ipaddr()
80 static void rds_ib_remove_ipaddr(struct rds_ib_device *rds_ibdev, __be32 ipaddr) in rds_ib_remove_ipaddr() argument
88 if (i_ipaddr->ipaddr == ipaddr) { in rds_ib_remove_ipaddr()
101 struct in6_addr *ipaddr) in rds_ib_update_ipaddr() argument
105 rds_ibdev_old = rds_ib_get_device(ipaddr->s6_addr32[3]); in rds_ib_update_ipaddr()
107 return rds_ib_add_ipaddr(rds_ibdev, ipaddr->s6_addr32[3]); in rds_ib_update_ipaddr()
110 rds_ib_remove_ipaddr(rds_ibdev_old, ipaddr->s6_addr32[3]); in rds_ib_update_ipaddr()
[all …]
Dib.h234 __be32 ipaddr; member
391 struct in6_addr *ipaddr);
/net/atm/
Dmpoa_proc.c252 __be32 ipaddr; in parse_qos() local
259 ipaddr = *(__be32 *)ip; in parse_qos()
260 return atm_mpoa_delete_qos(atm_mpoa_search_qos(ipaddr)); in parse_qos()
271 ipaddr = *(__be32 *)ip; in parse_qos()
283 atm_mpoa_add_qos(ipaddr, &qos); in parse_qos()
Dmpc.c193 entry->ipaddr = dst_ip; in atm_mpoa_add_qos()
208 if (qos->ipaddr == dst_ip) in atm_mpoa_search_qos()
255 &qos->ipaddr, in atm_mpoa_disp_qos()
497 __be32 ipaddr = 0; in send_via_shortcut() local
509 ipaddr = iph->daddr; in send_via_shortcut()
512 mpc->dev->name, ipaddr); in send_via_shortcut()
514 entry = mpc->in_ops->get(ipaddr, mpc); in send_via_shortcut()
516 entry = mpc->in_ops->add_entry(ipaddr, mpc); in send_via_shortcut()
611 __be32 ipaddr; in atm_mpoa_vcc_attach() local
619 ipaddr = ioc_data.ipaddr; in atm_mpoa_vcc_attach()
[all …]
Dmpc.h43 __be32 ipaddr; member
Dmpoa_caches.h72 eg_cache_entry *(*get_by_src_ip)(__be32 ipaddr, struct mpoa_client *client);
Dmpoa_caches.c395 static eg_cache_entry *eg_cache_get_by_src_ip(__be32 ipaddr, in eg_cache_get_by_src_ip() argument
403 if (entry->latest_ip_addr == ipaddr) { in eg_cache_get_by_src_ip()
/net/sctp/
Ddiag.c36 paddr = asoc->peer.primary_path->ipaddr; in inet_diag_msg_sctpasoc_fill()
109 memcpy(info, &from->ipaddr, sizeof(from->ipaddr)); in inet_diag_msg_sctpaddrs_fill()
110 memset(info + sizeof(from->ipaddr), 0, in inet_diag_msg_sctpaddrs_fill()
111 addrlen - sizeof(from->ipaddr)); in inet_diag_msg_sctpaddrs_fill()
Dassociola.c434 memcpy(&asoc->peer.primary_addr, &transport->ipaddr, in sctp_assoc_set_primary()
484 __func__, asoc, &peer->ipaddr.sa); in sctp_assoc_rm_peer()
734 if (sctp_cmp_addr_exact(addr, &transport->ipaddr)) { in sctp_assoc_del_peer()
753 if (sctp_cmp_addr_exact(address, &t->ipaddr)) in sctp_assoc_lookup_paddr()
841 memcpy(&addr, &transport->ipaddr, in sctp_assoc_control_transport()
1119 if (!sctp_assoc_lookup_paddr(new, &trans->ipaddr)) { in sctp_assoc_update()
1159 if (!sctp_assoc_add_peer(asoc, &trans->ipaddr, in sctp_assoc_update()
1306 __func__, asoc, &asoc->peer.retran_path->ipaddr.sa); in sctp_assoc_update_retran_path()
Dproc.c122 addr = &transport->ipaddr; in sctp_seq_dump_remote_addrs()
321 tsp->af_specific->seq_dump_addr(seq, &tsp->ipaddr); in sctp_remaddr_seq_show()
Dtransport.c47 memcpy(&peer->ipaddr, addr, peer->af_specific->sockaddr_len); in sctp_transport_init()
265 pf->to_sk_daddr(&t->ipaddr, sk); in sctp_transport_update_pmtu()
Dinput.c882 if (!sctp_cmp_addr_exact(&t->ipaddr, x->paddr)) in sctp_hash_cmp()
904 &t->ipaddr, seed); in sctp_hash_obj()
943 arg.paddr = &t->ipaddr; in sctp_hash_transport()
Doutqueue.c807 &ctx->transport->ipaddr)) in sctp_outq_select_transport()
1612 sctp_cmp_addr_exact(&transport->ipaddr, saddr)) { in sctp_check_transmitted()
Dsm_sideeffect.c567 __func__, asoc, &transport->ipaddr.sa); in sctp_do_8_2_transport_strike()
1015 if (!sctp_cmp_addr_exact(&t->ipaddr, in sctp_cmd_del_non_primary()
Dsm_make_chunk.c488 &chunk->transport->ipaddr); in sctp_make_init_ack()
638 &chunk->transport->ipaddr); in sctp_make_cookie_ack()
1160 hbinfo.daddr = transport->ipaddr; in sctp_make_heartbeat()
1373 return &chunk->transport->ipaddr; in sctp_source()
Dsm_statefuns.c1324 union sctp_addr *ipaddr) in list_has_sctp_addr() argument
1329 if (sctp_cmp_addr_exact(ipaddr, &addr->ipaddr)) in list_has_sctp_addr()
1361 &new_addr->ipaddr)) { in sctp_sf_check_restart_addrs()
1362 sctp_sf_send_restart_abort(net, &new_addr->ipaddr, init, in sctp_sf_check_restart_addrs()
Dsocket.c2599 if (trans->ipaddr.sa.sa_family == AF_INET6) { in sctp_apply_peer_addr_params()
2609 if (t->ipaddr.sa.sa_family != AF_INET6) in sctp_apply_peer_addr_params()
5294 memcpy(&info->sctpi_p_address, &prim->ipaddr, sizeof(prim->ipaddr)); in sctp_get_sctp_info()
5500 memcpy(&status.sstat_primary.spinfo_address, &transport->ipaddr, in sctp_getsockopt_sctp_status()
6214 memcpy(&temp, &from->ipaddr, sizeof(temp)); in sctp_getsockopt_peer_addrs()
6410 memcpy(&prim.ssp_addr, &asoc->peer.primary_path->ipaddr, in sctp_getsockopt_primary_addr()
Dipv6.c236 union sctp_addr *daddr = &t->ipaddr; in sctp_v6_get_dst()
Dprotocol.c424 union sctp_addr *daddr = &t->ipaddr; in sctp_v4_get_dst()
/net/ipv4/
Desp4.c614 xfrm_address_t ipaddr; in esp_input_done2() local
616 ipaddr.a4 = iph->saddr; in esp_input_done2()
617 km_new_mapping(x, &ipaddr, uh->source); in esp_input_done2()
/net/netfilter/ipset/
Dip_set_core.c294 ip_set_get_ipaddr4(struct nlattr *nla, __be32 *ipaddr) in ip_set_get_ipaddr4() argument
306 *ipaddr = nla_get_be32(tb[IPSET_ATTR_IPADDR_IPV4]); in ip_set_get_ipaddr4()
312 ip_set_get_ipaddr6(struct nlattr *nla, union nf_inet_addr *ipaddr) in ip_set_get_ipaddr6() argument
325 memcpy(ipaddr, nla_data(tb[IPSET_ATTR_IPADDR_IPV6]), in ip_set_get_ipaddr6()
/net/xfrm/
Dxfrm_state.c2216 int km_new_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr, __be16 sport) in km_new_mapping() argument
2224 err = km->new_mapping(x, ipaddr, sport); in km_new_mapping()
Dxfrm_user.c3397 static int xfrm_send_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr, in xfrm_send_mapping() argument
3414 err = build_mapping(skb, x, ipaddr, sport); in xfrm_send_mapping()
/net/key/
Daf_key.c3358 static int pfkey_send_new_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr, __be16 sport) in pfkey_send_new_mapping() argument
3450 pfkey_sockaddr_fill(ipaddr, 0, in pfkey_send_new_mapping()