/linux-master/drivers/net/vmxnet3/ |
H A D | vmxnet3_drv.c | 935 if (ctx->ipv4) { 1043 if (ctx->ipv4) { 1098 ctx.ipv4 = (vlan_get_protocol(skb) == cpu_to_be16(ETH_P_IP)); 1456 struct iphdr *ipv4; member in union:__anon958 1477 BUG_ON(hdr.ipv4->protocol != IPPROTO_TCP); 1478 hlen = hdr.ipv4->ihl << 2; 1479 hdr.ptr += hdr.ipv4->ihl << 2;
|
H A D | vmxnet3_int.h | 230 bool ipv4; member in struct:vmxnet3_tx_ctx
|
/linux-master/drivers/net/vxlan/ |
H A D | vxlan_core.c | 1665 /* Callback from net/ipv4/udp.c to receive packets */ 2305 * we can use RTCF_LOCAL which works for ipv4 and ipv6 route entry. 2381 key.u.ipv4.src = vxlan->cfg.saddr.sin.sin_addr.s_addr; 2382 key.u.ipv4.dst = rdst->remote_ip.sin.sin_addr.s_addr; 2498 unclone->key.u.ipv4.src = pkey->u.ipv4.dst; 2499 unclone->key.u.ipv4.dst = saddr; 2514 pkey->u.ipv4.dst, tos, ttl, df, 3206 &info->key.u.ipv4.src, 3637 bool ipv4 local [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | tx.c | 944 bool ipv4 = (skb->protocol == htons(ETH_P_IP)); local 946 u16 ip_base_id = ipv4 ? ntohs(ip_hdr(skb)->id) : 0; 953 skb_shinfo(skb)->gso_type = ipv4 ? SKB_GSO_TCPV4 : SKB_GSO_TCPV6; 977 if (ipv4) 982 skb_shinfo(tmp)->gso_type = ipv4 ? SKB_GSO_TCPV4 : 988 if (ipv4)
|
/linux-master/drivers/scsi/fnic/ |
H A D | cq_enet_desc.h | 88 u8 *ipv6, u8 *ipv4, u8 *ipv4_fragment, u8 *fcs_ok) 149 *ipv4 = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV4) ? 1 : 0; 81 cq_enet_rq_desc_dec(struct cq_enet_rq_desc *desc, u8 *type, u8 *color, u16 *q_number, u16 *completed_index, u8 *ingress_port, u8 *fcoe, u8 *eop, u8 *sop, u8 *rss_type, u8 *csum_not_calc, u32 *rss_hash, u16 *bytes_written, u8 *packet_error, u8 *vlan_stripped, u16 *vlan, u16 *checksum, u8 *fcoe_sof, u8 *fcoe_fc_crc_ok, u8 *fcoe_enc_error, u8 *fcoe_eof, u8 *tcp_udp_csum_ok, u8 *udp, u8 *tcp, u8 *ipv4_csum_ok, u8 *ipv6, u8 *ipv4, u8 *ipv4_fragment, u8 *fcs_ok) argument
|
H A D | fnic_fcs.c | 836 u8 ipv6, ipv4, ipv4_fragment, rss_type, csum_not_calc; local 875 &ipv4_csum_ok, &ipv6, &ipv4,
|
/linux-master/drivers/scsi/qedi/ |
H A D | qedi_main.c | 2065 ip = ipv6_en ? initiator->ipv6.addr.byte : initiator->ipv4.addr.byte; 2068 initiator->ipv4.subnet_mask.byte; 2070 initiator->ipv4.gateway.byte;
|
/linux-master/fs/smb/client/ |
H A D | cifs_debug.c | 215 struct sockaddr_in *ipv4 = (struct sockaddr_in *)&iface->sockaddr; local 228 seq_printf(m, "\t\tIPv4: %pI4\n", &ipv4->sin_addr);
|
H A D | cifs_swn.c | 439 struct sockaddr_in *ipv4 = (struct sockaddr_in *)old; local 441 port = ipv4->sin_port; 449 struct sockaddr_in *ipv4 = (struct sockaddr_in *)new; local 451 ipv4->sin_port = port; 511 struct sockaddr_in *ipv4 = (struct sockaddr_in *)addr; local 515 cifs_dbg(FYI, "%s: move to %pI4\n", __func__, &ipv4->sin_addr);
|
H A D | connect.c | 3049 struct sockaddr_in *ipv4 = (struct sockaddr_in *)&server->dstaddr; local 3051 sport = ipv4->sin_port; 3054 cifs_dbg(FYI, "%s: connecting to %pI4:%d\n", __func__, &ipv4->sin_addr,
|
H A D | sess.c | 518 struct sockaddr_in *ipv4 = (struct sockaddr_in *)&iface->sockaddr; local 527 &ipv4->sin_addr);
|
/linux-master/fs/smb/server/ |
H A D | transport_tcp.c | 430 bool ipv4 = false; local 435 pr_err("Can't create socket for ipv6, fallback to ipv4: %d\n", ret); 439 pr_err("Can't create socket for ipv4: %d\n", ret); 446 ipv4 = true; 470 if (ipv4)
|
/linux-master/include/linux/ |
H A D | inetdevice.h | 58 IPV4_DEVCONF((*(net)->ipv4.devconf_all), attr)
|
/linux-master/include/linux/mlx4/ |
H A D | device.h | 1263 struct mlx4_spec_ipv4 ipv4; member in union:mlx4_spec_list::__anon2642 1370 struct mlx4_net_trans_rule_hw_ipv4 ipv4; member in union:_rule_hw::__anon2643
|
/linux-master/include/linux/mlx5/ |
H A D | mlx5_ifc.h | 518 u8 ipv4[0x20]; member in struct:mlx5_ifc_ipv4_layout_bits
|
/linux-master/include/net/ |
H A D | inet_connection_sock.h | 331 READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_pingpong_thresh); 342 READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_pingpong_thresh);
|
H A D | inet_hashtables.h | 163 /* This bind table is hashed by local port and sk->sk_rcv_saddr (ipv4) 181 sock_net(sk)->ipv4.tcp_death_row.hashinfo; 183 return sock_net(sk)->ipv4.tcp_death_row.hashinfo; 279 /* This should be called whenever a socket's sk_rcv_saddr (ipv4) or
|
H A D | inet_sock.h | 112 if (!mark && READ_ONCE(sock_net(sk)->ipv4.sysctl_tcp_fwmark_accept)) 125 if (!bound_dev_if && READ_ONCE(net->ipv4.sysctl_tcp_l3mdev_accept)) 137 if (!READ_ONCE(net->ipv4.sysctl_tcp_l3mdev_accept)) 157 return inet_bound_dev_eq(!!READ_ONCE(net->ipv4.sysctl_tcp_l3mdev_accept), 424 return READ_ONCE(net->ipv4.sysctl_ip_nonlocal_bind) ||
|
H A D | ip.h | 354 u32 range = READ_ONCE(net->ipv4.ip_local_ports.range); 364 if (!net->ipv4.sysctl_local_reserved_ports) 366 return test_bit(port, net->ipv4.sysctl_local_reserved_ports); 376 return port < READ_ONCE(net->ipv4.sysctl_ip_prot_sock); 403 (READ_ONCE((net)->ipv4.sysctl_fwmark_reflect) ? (mark) : 0) 468 if (READ_ONCE(net->ipv4.sysctl_ip_fwd_use_pmtu) || 519 /* ipv4 and ipv6 both use refcounted metrics if it is not the default */
|
H A D | ip_fib.h | 92 __be32 ipv4; member in union:fib_nh_common::__anon2459 122 #define fib_nh_gw4 nh_common.nhc_gw.ipv4 298 &net->ipv4.fib_table_hash[TABLE_LOCAL_INDEX] : 299 &net->ipv4.fib_table_hash[TABLE_MAIN_INDEX]; 376 if (net->ipv4.fib_has_custom_rules) 383 tb = rcu_dereference_rtnl(net->ipv4.fib_main); 390 tb = rcu_dereference_rtnl(net->ipv4.fib_default); 405 return net->ipv4.fib_has_custom_rules; 420 if (!net->ipv4.fib_rules_require_fldissect) 449 return atomic_read(&net->ipv4 [all...] |
H A D | ip_tunnels.h | 33 /* Used to memset ipv4 address padding. */ 34 #define IP_TUNNEL_KEY_IPV4_PAD offsetofend(struct ip_tunnel_key, u.ipv4.dst) 37 sizeof_field(struct ip_tunnel_key, u.ipv4)) 63 } ipv4; member in union:ip_tunnel_key::__anon2745 287 key->u.ipv4.src = saddr; 288 key->u.ipv4.dst = daddr;
|
H A D | net_namespace.h | 20 #include <net/netns/ipv4.h> 132 struct netns_ipv4 ipv4; member in struct:net 473 * For the longest time the ipv4 icmp code was registered as a pernet 505 return atomic_read(&net->ipv4.rt_genid); 517 atomic_inc(&net->ipv4.rt_genid);
|
/linux-master/include/net/netfilter/ |
H A D | nf_conntrack.h | 72 #include <net/netfilter/ipv4/nf_conntrack_ipv4.h>
|
H A D | nf_flow_table.h | 29 struct flow_dissector_key_ipv4_addrs ipv4; member in union:nf_flow_key::__anon54
|
H A D | nf_tables_offload.h | 47 struct flow_dissector_key_ipv4_addrs ipv4; member in union:nft_flow_key::__anon261
|