Home
last modified time | relevance | path

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

12

/net/tipc/
Dudp_media.c416 struct sockaddr_in ip4; in __tipc_nl_add_udp_addr() local
418 memset(&ip4, 0, sizeof(ip4)); in __tipc_nl_add_udp_addr()
419 ip4.sin_family = AF_INET; in __tipc_nl_add_udp_addr()
420 ip4.sin_port = addr->port; in __tipc_nl_add_udp_addr()
421 ip4.sin_addr.s_addr = addr->ipv4.s_addr; in __tipc_nl_add_udp_addr()
422 if (nla_put(skb, nla_t, sizeof(ip4), &ip4)) in __tipc_nl_add_udp_addr()
579 struct sockaddr_in *ip4 = (struct sockaddr_in *)&sa; in tipc_parse_udp_addr() local
582 addr->port = ip4->sin_port; in tipc_parse_udp_addr()
583 addr->ipv4.s_addr = ip4->sin_addr.s_addr; in tipc_parse_udp_addr()
/net/ipv4/
Dxfrm4_protocol.c68 XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4 = NULL; in xfrm4_rcv_encap()
92 XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4 = NULL; in xfrm4_esp_rcv()
120 XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4 = NULL; in xfrm4_ah_rcv()
148 XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4 = NULL; in xfrm4_ipcomp_rcv()
Dfib_rules.c132 err = fib_table_lookup(tbl, &flp->u.ip4, in fib4_rule_action()
174 struct flowi4 *fl4 = &fl->u.ip4; in fib4_rule_match()
Dnetfilter.c86 struct rtable *rt = ip_route_output_key(net, &fl->u.ip4); in nf_ip_route()
Ddatagram.c47 fl4 = &inet->cork.fl.u.ip4; in __ip4_datagram_connect()
Dip_vti.c61 XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4 = tunnel; in vti_input()
106 struct ip_tunnel *tunnel = XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4; in vti_rcv_cb()
Dxfrm4_policy.c75 const struct flowi4 *fl4 = &fl->u.ip4; in xfrm4_fill_dst()
Desp4_offload.c74 XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4 = NULL; in esp4_gro_receive()
Dsyncookies.c403 inet_sk(ret)->cork.fl.u.ip4 = fl4; in cookie_v4_check()
Dinet_connection_sock.c589 fl4 = &newinet->cork.fl.u.ip4; in inet_csk_route_child_sock()
1065 fl4 = &fl->u.ip4; in inet_csk_rebuild_route()
Dudp.c911 struct flowi4 *fl4 = &inet->cork.fl.u.ip4; in udp_push_pending_frames()
998 fl4 = &inet->cork.fl.u.ip4; in udp_sendmsg()
1195 fl4 = &inet->cork.fl.u.ip4; in udp_sendmsg()
1276 ret = ip_append_page(sk, &inet->cork.fl.u.ip4, in udp_sendpage()
Daf_inet.c1208 fl4 = &inet->cork.fl.u.ip4; in inet_sk_reselect_saddr()
1260 fl4 = &inet->cork.fl.u.ip4; in inet_sk_rebuild_header()
Dtcp_ipv4.c229 fl4 = &inet->cork.fl.u.ip4; in tcp_v4_connect()
1364 return inet_csk_route_req(sk, &fl->u.ip4, req); in tcp_v4_route_req()
/net/bridge/
Dbr_mdb.c73 ip->u.ip4 = entry->addr.u.ip4; in __mdb_entry_to_br_ip()
104 e.addr.u.ip4 = mp->addr.u.ip4; in __mdb_fill_info()
355 ip_eth_mc_map(entry->addr.u.ip4, mdb.addr); in br_mdb_switchdev_host_port()
400 ip_eth_mc_map(entry->addr.u.ip4, mdb.addr); in __br_mdb_notify()
451 entry.addr.u.ip4 = group->u.ip4; in br_mdb_notify()
533 if (!ipv4_is_multicast(entry->addr.u.ip4)) in is_valid_mdb_entry()
535 if (ipv4_is_local_multicast(entry->addr.u.ip4)) in is_valid_mdb_entry()
Dbr_multicast.c88 br_dst.u.ip4 = dst; in br_mdb_ip4_get()
128 ip.u.ip4 = ip_hdr(skb)->daddr; in br_mdb_get()
429 return br_ip4_multicast_alloc_query(br, addr->u.ip4, igmp_type); in br_multicast_alloc_query()
598 br_group.u.ip4 = group; in br_ip4_multicast_add_group()
705 br->ip4_querier.addr.u.ip4 = ip_hdr(skb)->saddr; in br_multicast_select_own_querier()
1068 if (!br->ip4_querier.addr.u.ip4) in br_ip4_multicast_select_querier()
1071 if (ntohl(saddr) <= ntohl(br->ip4_querier.addr.u.ip4)) in br_ip4_multicast_select_querier()
1077 br->ip4_querier.addr.u.ip4 = saddr; in br_ip4_multicast_select_querier()
1115 return br_ip4_multicast_select_querier(br, port, saddr->u.ip4); in br_multicast_select_querier()
1259 saddr.u.ip4 = iph->saddr; in br_ip4_multicast_query()
[all …]
/net/netfilter/
Dnft_flow_offload.c34 fl.u.ip4.daddr = ct->tuplehash[dir].tuple.src.u3.ip; in nft_flow_route()
35 fl.u.ip4.flowi4_oif = nft_in(pkt)->ifindex; in nft_flow_route()
Dnft_rt.c32 fl.u.ip4.daddr = ip_hdr(skb)->saddr; in get_tcpmss()
Dxt_TCPMSS.c52 struct flowi4 *fl4 = &fl.u.ip4; in tcpmss_reverse_mtu()
Dnf_nat_core.c62 struct flowi4 *fl4 = &fl->u.ip4; in nf_nat_ipv4_decode_session()
/net/sctp/
Dprotocol.c412 struct flowi4 *fl4 = &fl->u.ip4; in sctp_v4_get_dst()
540 saddr->v4.sin_addr.s_addr = fl->u.ip4.saddr; in sctp_v4_get_saddr()
970 skb->len, &transport->fl.u.ip4.saddr, in sctp_v4_xmit()
971 &transport->fl.u.ip4.daddr); in sctp_v4_xmit()
/net/xfrm/
Dxfrm_input.c543 if (XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4) in xfrm_input()
544 mark = be32_to_cpu(XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4->parms.i_key); in xfrm_input()
/net/batman-adv/
Dmulticast.c564 ip_eth_mc_map(src->u.ip4, dst); in batadv_mcast_mla_br_addr_cpy()
611 ipv4_is_local_multicast(br_ip_entry->addr.u.ip4)) in batadv_mcast_mla_bridge_get()
615 !ipv4_is_local_multicast(br_ip_entry->addr.u.ip4)) in batadv_mcast_mla_bridge_get()
/net/rxrpc/
Dpeer_object.c159 struct flowi4 *fl4 = &fl.u.ip4; in rxrpc_assess_MTU_size()
/net/l2tp/
Dl2tp_ip.c453 fl4 = &inet->cork.fl.u.ip4; in l2tp_ip_sendmsg()
/net/dccp/
Dipv4.c70 fl4 = &inet->cork.fl.u.ip4; in dccp_v4_connect()

12