/kernel/linux/linux-5.10/drivers/infiniband/core/ |
D | ud_header.c | 121 { STRUCT_FIELD(ip4, ver), 125 { STRUCT_FIELD(ip4, hdr_len), 129 { STRUCT_FIELD(ip4, tos), 133 { STRUCT_FIELD(ip4, tot_len), 137 { STRUCT_FIELD(ip4, id), 141 { STRUCT_FIELD(ip4, frag_off), 145 { STRUCT_FIELD(ip4, ttl), 149 { STRUCT_FIELD(ip4, protocol), 153 { STRUCT_FIELD(ip4, check), 157 { STRUCT_FIELD(ip4, saddr), [all …]
|
/kernel/uniproton/src/net/lwip-2.1/enhancement/src/ |
D | fixme.c | 145 ip4_addr_t ip4; in ip6addr_aton() local 146 int ret = ip4addr_aton(ss+1, &ip4); in ip6addr_aton() 150 ip4.addr = lwip_ntohl(ip4.addr); in ip6addr_aton() 151 addr16[currentBlockIndex++] = (u16_t)(ip4.addr >> num16); in ip6addr_aton() 152 addr16[currentBlockIndex++] = (u16_t)(ip4.addr); in ip6addr_aton()
|
/kernel/liteos_m/components/net/lwip-2.1/enhancement/src/ |
D | fixme.c | 165 ip4_addr_t ip4; in ip6addr_aton() local 166 int ret = ip4addr_aton((const char *)(ss + 1), &ip4); in ip6addr_aton() 170 ip4.addr = lwip_ntohl(ip4.addr); in ip6addr_aton() 171 addr16[current_block_index++] = (u16_t)(ip4.addr >> 16); in ip6addr_aton() 172 addr16[current_block_index++] = (u16_t)(ip4.addr); in ip6addr_aton()
|
/kernel/linux/linux-5.10/net/tipc/ |
D | udp_media.c | 422 struct sockaddr_in ip4; in __tipc_nl_add_udp_addr() local 424 memset(&ip4, 0, sizeof(ip4)); in __tipc_nl_add_udp_addr() 425 ip4.sin_family = AF_INET; in __tipc_nl_add_udp_addr() 426 ip4.sin_port = addr->port; in __tipc_nl_add_udp_addr() 427 ip4.sin_addr.s_addr = addr->ipv4.s_addr; in __tipc_nl_add_udp_addr() 428 if (nla_put(skb, nla_t, sizeof(ip4), &ip4)) in __tipc_nl_add_udp_addr() 581 struct sockaddr_in *ip4 = (struct sockaddr_in *)&sa; in tipc_parse_udp_addr() local 584 addr->port = ip4->sin_port; in tipc_parse_udp_addr() 585 addr->ipv4.s_addr = ip4->sin_addr.s_addr; in tipc_parse_udp_addr()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbevf/ |
D | ipsec.c | 180 __be32 spi, bool ip4) in ixgbevf_ipsec_find_rx_state() argument 189 ((ip4 && *daddr == rsa->xs->id.daddr.a4) || in ixgbevf_ipsec_find_rx_state() 190 (!ip4 && !memcmp(daddr, &rsa->xs->id.daddr.a6, in ixgbevf_ipsec_find_rx_state() 561 struct iphdr *ip4 = NULL; in ixgbevf_ipsec_rx() local 574 ip4 = (struct iphdr *)(skb->data + ETH_HLEN); in ixgbevf_ipsec_rx() 575 daddr = &ip4->daddr; in ixgbevf_ipsec_rx() 576 c_hdr = (u8 *)ip4 + ip4->ihl * 4; in ixgbevf_ipsec_rx() 598 xs = ixgbevf_ipsec_find_rx_state(ipsec, daddr, proto, spi, !!ip4); in ixgbevf_ipsec_rx()
|
/kernel/liteos_a/net/lwip-2.1/enhancement/src/ |
D | fixme.c | 464 ip4_addr_t ip4; local 465 int ret = ip4addr_aton(ss+1, &ip4); 469 ip4.addr = lwip_ntohl(ip4.addr); 470 addr16[current_block_index++] = (u16_t)(ip4.addr >> 16); 471 addr16[current_block_index++] = (u16_t)(ip4.addr);
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | xfrm4_protocol.c | 68 XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4 = NULL; in xfrm4_rcv_encap() 101 XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4 = NULL; in xfrm4_esp_rcv() 129 XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4 = NULL; in xfrm4_ah_rcv() 157 XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4 = NULL; in xfrm4_ipcomp_rcv()
|
D | ip_vti.c | 61 XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4 = tunnel; in vti_input() 100 struct ip_tunnel *tunnel = XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4; in vti_rcv_cb() 182 fl->u.ip4.flowi4_oif = dev->ifindex; in vti_xmit() 183 fl->u.ip4.flowi4_flags |= FLOWI_FLAG_ANYSRC; in vti_xmit() 184 rt = __ip_route_output_key(dev_net(dev), &fl->u.ip4); in vti_xmit()
|
D | netfilter.c | 90 struct rtable *rt = ip_route_output_key(net, &fl->u.ip4); in nf_ip_route()
|
D | fib_rules.c | 135 err = fib_table_lookup(tbl, &flp->u.ip4, in fib4_rule_action() 180 struct flowi4 *fl4 = &fl->u.ip4; in fib4_rule_match()
|
D | datagram.c | 47 fl4 = &inet->cork.fl.u.ip4; in __ip4_datagram_connect()
|
/kernel/linux/linux-5.10/net/bridge/ |
D | br_mdb.c | 79 ip->dst.ip4 = entry->addr.u.ip4; in __mdb_entry_to_br_ip() 81 ip->src.ip4 = nla_get_in_addr(mdb_attrs[MDBE_ATTR_SOURCE]); in __mdb_entry_to_br_ip() 115 ent->addr.src.ip4)) { in __mdb_fill_srcs() 175 e.addr.u.ip4 = mp->addr.dst.ip4; in __mdb_fill_info() 195 if (mp->addr.src.ip4) { in __mdb_fill_info() 197 mp->addr.src.ip4)) in __mdb_fill_info() 433 if (pg->key.addr.src.ip4) in rtnl_mdb_nlmsg_size() 517 ip_eth_mc_map(mp->addr.dst.ip4, mdb.addr); in br_mdb_switchdev_host_port() 563 ip_eth_mc_map(mp->addr.dst.ip4, mdb.addr); in br_mdb_notify() 681 if (!ipv4_is_multicast(entry->addr.u.ip4)) { in is_valid_mdb_entry() [all …]
|
D | br_multicast.c | 116 br_dst.dst.ip4 = dst; in br_mdb_ip4_get() 156 ip.dst.ip4 = ip_hdr(skb)->daddr; in br_mdb_get() 160 ip.src.ip4 = ip_hdr(skb)->saddr; in br_mdb_get() 164 ip.src.ip4 = 0; in br_mdb_get() 803 ihv3->srcs[lmqt_srcs++] = ent->addr.src.ip4; in br_ip4_multicast_alloc_query() 1005 ip4_dst = ip_dst ? ip_dst->dst.ip4 : htonl(INADDR_ALLHOSTS_GROUP); in br_multicast_alloc_query() 1007 ip4_dst, group->dst.ip4, in br_multicast_alloc_query() 1100 if (ip->src.ip4 == ent->addr.src.ip4) in br_multicast_find_group_src() 1125 if (ipv4_is_zeronet(src_ip->src.ip4) || in br_multicast_new_group_src() 1126 ipv4_is_multicast(src_ip->src.ip4)) in br_multicast_new_group_src() [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | if_bridge.h | 18 __be32 ip4; member 24 __be32 ip4; member
|
/kernel/linux/linux-5.10/drivers/infiniband/ulp/srp/ |
D | ib_srp.h | 239 struct sockaddr_in ip4; member 245 struct sockaddr_in ip4; member
|
/kernel/linux/linux-5.10/drivers/net/ipvlan/ |
D | ipvlan.h | 79 struct in_addr ip4; /* IPv4 address on logical interface */ member 82 #define ip4addr ipu.ip4
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ipsec.c | 394 __be32 spi, bool ip4) in ixgbe_ipsec_find_rx_state() argument 405 ((ip4 && *daddr == rsa->xs->id.daddr.a4) || in ixgbe_ipsec_find_rx_state() 406 (!ip4 && !memcmp(daddr, &rsa->xs->id.daddr.a6, in ixgbe_ipsec_find_rx_state() 1169 struct iphdr *ip4 = NULL; in ixgbe_ipsec_rx() local 1182 ip4 = (struct iphdr *)(skb->data + ETH_HLEN); in ixgbe_ipsec_rx() 1183 daddr = &ip4->daddr; in ixgbe_ipsec_rx() 1184 c_hdr = (u8 *)ip4 + ip4->ihl * 4; in ixgbe_ipsec_rx() 1206 xs = ixgbe_ipsec_find_rx_state(ipsec, daddr, proto, spi, !!ip4); in ixgbe_ipsec_rx()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
D | test_sock_addr.c | 680 } ip4, port; in bind4_prog_load() local 683 if (inet_pton(AF_INET, SERV4_IP, (void *)&ip4) != 1) { in bind4_prog_load() 713 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, ip4.u4_addr8[0], 26), in bind4_prog_load() 718 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, ip4.u4_addr8[1], 24), in bind4_prog_load() 723 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, ip4.u4_addr8[2], 22), in bind4_prog_load() 728 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, ip4.u4_addr8[3], 20), in bind4_prog_load() 733 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, ip4.u4_addr16[0], 18), in bind4_prog_load() 738 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, ip4.u4_addr16[1], 16), in bind4_prog_load() 743 BPF_LD_IMM64(BPF_REG_8, ip4.u4_addr32), /* See [2]. */ in bind4_prog_load()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/ |
D | qedr_roce_cm.c | 470 udh->ip4.protocol = IPPROTO_UDP; in qedr_gsi_build_header() 471 udh->ip4.tos = htonl(grh->flow_label); in qedr_gsi_build_header() 472 udh->ip4.frag_off = htons(IP_DF); in qedr_gsi_build_header() 473 udh->ip4.ttl = grh->hop_limit; in qedr_gsi_build_header() 476 udh->ip4.saddr = ipv4_addr; in qedr_gsi_build_header() 478 udh->ip4.daddr = ipv4_addr; in qedr_gsi_build_header()
|
/kernel/linux/linux-5.10/include/net/ |
D | flow.h | 177 struct flowi4 ip4; member 195 return container_of(fl4, struct flowi, u.ip4); in flowi4_to_flowi()
|
D | xfrm.h | 600 struct ip_tunnel *ip4; member 1267 return (xfrm_address_t *)&fl->u.ip4.daddr; in xfrm_flowi_daddr() 1279 return (xfrm_address_t *)&fl->u.ip4.saddr; in xfrm_flowi_saddr() 1293 memcpy(&saddr->a4, &fl->u.ip4.saddr, sizeof(saddr->a4)); in xfrm_flowi_addr_get() 1294 memcpy(&daddr->a4, &fl->u.ip4.daddr, sizeof(daddr->a4)); in xfrm_flowi_addr_get() 1346 (const xfrm_address_t *)&fl->u.ip4.daddr, in xfrm_state_addr_flow_check() 1347 (const xfrm_address_t *)&fl->u.ip4.saddr); in xfrm_state_addr_flow_check() 1606 XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4 = NULL; in xfrm4_rcv_spi() 2015 if (XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4) in xfrm_tunnel_check()
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nft_flow_offload.c | 34 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()
|
D | nft_rt.c | 32 fl.u.ip4.daddr = ip_hdr(skb)->saddr; in get_tcpmss()
|
/kernel/linux/linux-5.10/net/sctp/ |
D | protocol.c | 420 struct flowi4 *fl4 = &_fl.u.ip4; in sctp_v4_get_dst() 538 &fl->u.ip4.daddr, &fl->u.ip4.saddr); in sctp_v4_get_dst() 557 saddr->v4.sin_addr.s_addr = fl->u.ip4.saddr; in sctp_v4_get_saddr() 987 skb->len, &transport->fl.u.ip4.saddr, in sctp_v4_xmit() 988 &transport->fl.u.ip4.daddr); in sctp_v4_xmit()
|
/kernel/linux/linux-5.10/lib/ |
D | test_printf.c | 417 ip4(void) in ip4() function 439 ip4(); in ip()
|