/drivers/infiniband/hw/usnic/ |
H A D | usnic_fwd.h | 99 filter->u.ipv4.flags = FILTER_FIELD_5TUP_PROTO; 100 filter->u.ipv4.protocol = PROTO_UDP; 103 filter->u.ipv4.flags |= FILTER_FIELD_5TUP_DST_AD; 104 filter->u.ipv4.dst_addr = daddr; 108 filter->u.ipv4.flags |= FILTER_FIELD_5TUP_DST_PT; 109 filter->u.ipv4.dst_port = dport;
|
H A D | usnic_fwd.c | 159 if (!(filter->u.ipv4.flags & FILTER_FIELD_5TUP_DST_AD)) 161 if (!(filter->u.ipv4.flags & FILTER_FIELD_5TUP_DST_PT)) 165 else if (filter->u.ipv4.dst_port == 0) 167 else if (ntohl(ufdev->inaddr) != filter->u.ipv4.dst_addr)
|
/drivers/net/ethernet/cisco/enic/ |
H A D | enic_clsf.c | 12 /* enic_addfltr_5t - Add ipv4 5tuple filter 14 * @keys: flow_keys of ipv4 5tuple 27 data.u.ipv4.protocol = PROTO_TCP; 30 data.u.ipv4.protocol = PROTO_UDP; 36 data.u.ipv4.src_addr = ntohl(keys->src); 37 data.u.ipv4.dst_addr = ntohl(keys->dst); 38 data.u.ipv4.src_port = ntohs(keys->port16[0]); 39 data.u.ipv4.dst_port = ntohs(keys->port16[1]); 40 data.u.ipv4.flags = FILTER_FIELDS_IPV4_5TUPLE;
|
H A D | cq_enet_desc.h | 111 u8 *ipv6, u8 *ipv4, u8 *ipv4_fragment, u8 *fcs_ok) 179 *ipv4 = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV4) ? 1 : 0; 104 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_tci, 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 | vnic_devcmd.h | 587 struct filter_ipv4_5tuple ipv4; member in union:filter::__anon3012
|
H A D | enic_main.c | 1001 u8 ipv6, ipv4, ipv4_fragment, fcs_ok, rss_type, csum_not_calc; local 1018 &ipv4_csum_ok, &ipv6, &ipv4, &ipv4_fragment,
|
/drivers/scsi/fnic/ |
H A D | cq_enet_desc.h | 100 u8 *ipv6, u8 *ipv4, u8 *ipv4_fragment, u8 *fcs_ok) 161 *ipv4 = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV4) ? 1 : 0; 93 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 | 799 u8 ipv6, ipv4, ipv4_fragment, rss_type, csum_not_calc; local 839 &ipv4_csum_ok, &ipv6, &ipv4,
|
/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_ethtool.c | 799 spec_l3->ipv4.src_ip = cmd->fs.h_u.usr_ip4_spec.ip4src; 801 spec_l3->ipv4.src_ip_msk = EN_ETHTOOL_WORD_MASK; 802 spec_l3->ipv4.dst_ip = cmd->fs.h_u.usr_ip4_spec.ip4dst; 804 spec_l3->ipv4.dst_ip_msk = EN_ETHTOOL_WORD_MASK; 843 spec_l3->ipv4.src_ip = cmd->fs.h_u.tcp_ip4_spec.ip4src; 844 spec_l3->ipv4.dst_ip = cmd->fs.h_u.tcp_ip4_spec.ip4dst; 855 spec_l3->ipv4.src_ip = cmd->fs.h_u.udp_ip4_spec.ip4src; 856 spec_l3->ipv4.dst_ip = cmd->fs.h_u.udp_ip4_spec.ip4dst; 862 spec_l3->ipv4.src_ip_msk = EN_ETHTOOL_WORD_MASK; 864 spec_l3->ipv4 [all...] |
H A D | mcg.c | 871 rule_hw->ipv4.src_ip = spec->ipv4.src_ip; 872 rule_hw->ipv4.src_ip_msk = spec->ipv4.src_ip_msk; 873 rule_hw->ipv4.dst_ip = spec->ipv4.dst_ip; 874 rule_hw->ipv4.dst_ip_msk = spec->ipv4.dst_ip_msk; 928 if (cur->ipv4.src_ip) 931 &cur->ipv4 [all...] |
H A D | en_tx.c | 898 struct iphdr *ipv4 = (struct iphdr *)skb_inner_network_header(skb); local 899 if (ipv4->protocol == IPPROTO_TCP || ipv4->protocol == IPPROTO_UDP)
|
H A D | en_netdev.c | 157 .ipv4 = {
|
/drivers/infiniband/core/ |
H A D | uverbs.h | 208 struct ib_uverbs_flow_spec_ipv4 ipv4; member in union:ib_uverbs_flow_spec::__anon1426
|
H A D | uverbs_cmd.c | 2711 ib_spec->ipv4.size = sizeof(struct ib_flow_spec_ipv4); 2712 if (ib_spec->ipv4.size != kern_spec->ipv4.size) 2714 memcpy(&ib_spec->ipv4.val, &kern_spec->ipv4.val, 2716 memcpy(&ib_spec->ipv4.mask, &kern_spec->ipv4.mask,
|
/drivers/net/vmxnet3/ |
H A D | vmxnet3_int.h | 213 bool ipv4; member in struct:vmxnet3_tx_ctx
|
H A D | vmxnet3_drv.c | 831 if (ctx->ipv4) { 884 if (ctx->ipv4) { 940 ctx.ipv4 = (vlan_get_protocol(skb) == cpu_to_be16(ETH_P_IP));
|
/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_txrx.c | 1233 bool ipv4 = false, ipv6 = false; local 1260 ipv4 = true; 1265 if (ipv4 && 1655 struct iphdr *ipv4; member in union:__anon3205 1676 if (hdr.ipv4->protocol != IPPROTO_TCP)
|
/drivers/net/ethernet/intel/i40evf/ |
H A D | i40e_txrx.c | 738 bool ipv4 = false, ipv6 = false; local 765 ipv4 = true; 770 if (ipv4 &&
|
/drivers/infiniband/hw/mlx4/ |
H A D | main.c | 879 mlx4_spec->ipv4.src_ip = ib_spec->ipv4.val.src_ip; 880 mlx4_spec->ipv4.src_ip_msk = ib_spec->ipv4.mask.src_ip; 881 mlx4_spec->ipv4.dst_ip = ib_spec->ipv4.val.dst_ip; 882 mlx4_spec->ipv4.dst_ip_msk = ib_spec->ipv4.mask.dst_ip;
|
/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_main.c | 823 struct iphdr *ipv4; member in union:__anon3193 851 l4_hdr = network_hdr.ipv4->protocol;
|
/drivers/infiniband/hw/cxgb4/ |
H A D | cm.c | 1760 req->le.u.ipv4.lip = sin->sin_addr.s_addr; 1763 req->le.u.ipv4.pip = sin->sin_addr.s_addr; 3546 req->le.u.ipv4.lip = laddr; 3547 req->le.u.ipv4.pip = raddr;
|
/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_main.c | 6931 struct iphdr *ipv4; member in union:__anon3307 6954 hdr.ipv4->protocol != IPPROTO_TCP)) 6993 common.ip ^= hdr.ipv4->saddr ^ hdr.ipv4->daddr;
|
/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_hw.c | 939 ipa->ipv4 = ip;
|
H A D | qlcnic.h | 996 __be32 ipv4; member in struct:qlcnic_ipaddr
|
/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | t4fw_api.h | 440 } ipv4; member in union:fw_ofld_connection_wr::fw_ofld_connection_le::fw_ofld_connection_leip
|