/drivers/infiniband/hw/usnic/ |
D | usnic_fwd.h | 114 filter->u.ipv4.flags = FILTER_FIELD_5TUP_PROTO; in usnic_fwd_init_udp_filter() 115 filter->u.ipv4.protocol = PROTO_UDP; in usnic_fwd_init_udp_filter() 118 filter->u.ipv4.flags |= FILTER_FIELD_5TUP_DST_AD; in usnic_fwd_init_udp_filter() 119 filter->u.ipv4.dst_addr = daddr; in usnic_fwd_init_udp_filter() 123 filter->u.ipv4.flags |= FILTER_FIELD_5TUP_DST_PT; in usnic_fwd_init_udp_filter() 124 filter->u.ipv4.dst_port = dport; in usnic_fwd_init_udp_filter()
|
D | usnic_fwd.c | 174 if (!(filter->u.ipv4.flags & FILTER_FIELD_5TUP_DST_AD)) in validate_filter_locked() 176 if (!(filter->u.ipv4.flags & FILTER_FIELD_5TUP_DST_PT)) in validate_filter_locked() 180 else if (filter->u.ipv4.dst_port == 0) in validate_filter_locked() 182 else if (ntohl(ufdev->inaddr) != filter->u.ipv4.dst_addr) in validate_filter_locked()
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_ah.c | 83 struct iphdr ipv4; in set_av_attr() local 127 *((__be16 *)&ipv4) = htons((4 << 12) | (5 << 8) | in set_av_attr() 129 ipv4.id = cpu_to_be16(pdid); in set_av_attr() 130 ipv4.frag_off = htons(IP_DF); in set_av_attr() 131 ipv4.tot_len = htons(0); in set_av_attr() 132 ipv4.ttl = attr->grh.hop_limit; in set_av_attr() 133 ipv4.protocol = nxthdr; in set_av_attr() 135 ipv4.saddr = sgid_addr._sockaddr_in.sin_addr.s_addr; in set_av_attr() 137 ipv4.daddr = dgid_addr._sockaddr_in.sin_addr.s_addr; in set_av_attr() 138 memcpy((u8 *)ah->av + eth_sz, &ipv4, sizeof(struct iphdr)); in set_av_attr()
|
/drivers/net/ethernet/cisco/enic/ |
D | enic_clsf.c | 27 data.u.ipv4.protocol = PROTO_TCP; in enic_addfltr_5t() 30 data.u.ipv4.protocol = PROTO_UDP; in enic_addfltr_5t() 36 data.u.ipv4.src_addr = ntohl(keys->addrs.v4addrs.src); in enic_addfltr_5t() 37 data.u.ipv4.dst_addr = ntohl(keys->addrs.v4addrs.dst); in enic_addfltr_5t() 38 data.u.ipv4.src_port = ntohs(keys->ports.src); in enic_addfltr_5t() 39 data.u.ipv4.dst_port = ntohs(keys->ports.dst); in enic_addfltr_5t() 40 data.u.ipv4.flags = FILTER_FIELDS_IPV4_5TUPLE; in enic_addfltr_5t()
|
D | cq_enet_desc.h | 111 u8 *ipv6, u8 *ipv4, u8 *ipv4_fragment, u8 *fcs_ok) in cq_enet_rq_desc_dec() argument 179 *ipv4 = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV4) ? 1 : 0; in cq_enet_rq_desc_dec()
|
D | vnic_devcmd.h | 593 struct filter_ipv4_5tuple ipv4; member
|
/drivers/infiniband/hw/i40iw/ |
D | i40iw_cm.c | 218 cm_info->ipv4 = cm_node->ipv4; in i40iw_get_addr_info() 267 if (cm_node->ipv4) in i40iw_send_cm_event() 420 if (cm_node->ipv4) in i40iw_form_cm_frame() 436 if (cm_node->ipv4) { in i40iw_form_cm_frame() 437 sqbuf->ipv4 = true; in i40iw_form_cm_frame() 467 sqbuf->ipv4 = false; in i40iw_form_cm_frame() 1550 if (child_listen_node->ipv4) in i40iw_del_multiple_qhash() 1858 event.cm_info.ipv4 = loopback->ipv4; in i40iw_dec_refcnt_listen() 1881 nfo.ipv4 = listener->ipv4; in i40iw_dec_refcnt_listen() 2139 cm_node->ipv4 = cm_info->ipv4; in i40iw_make_cm_node() [all …]
|
D | i40iw_cm.h | 304 bool ipv4; member 347 bool ipv4; member 372 bool ipv4; member 444 bool ipv4,
|
D | i40iw_puda.h | 74 bool ipv4; member 95 bool ipv4; member
|
D | i40iw_utils.c | 63 bool ipv4, in i40iw_arp_table() argument 71 if (ipv4) { in i40iw_arp_table() 1172 iphlen = (buf->ipv4) ? 20 : 40; in i40iw_ieq_update_tcpip_info() 1203 buf->ipv4 = (info->l3proto) ? false : true; in i40iw_puda_get_tcpip_info() 1210 if (buf->ipv4) { in i40iw_puda_get_tcpip_info()
|
D | i40iw_hw.c | 473 bool ipv4, in i40iw_manage_arp_cache() argument 481 arp_index = i40iw_arp_table(iwdev, ip_addr, ipv4, mac_addr, action); in i40iw_manage_arp_cache() 562 info->ipv4_valid = cminfo->ipv4; in i40iw_manage_qhash()
|
D | i40iw_puda.c | 383 if (info->ipv4) { in i40iw_puda_send() 456 info.ipv4 = buf->ipv4; in i40iw_puda_send_buf() 985 txbuf->ipv4 = buf->ipv4; in i40iw_ieq_setup_tx_buf()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rx.c | 487 struct iphdr *ipv4; in mlx5e_lro_update_hdr() local 501 ipv4 = (struct iphdr *)(skb->data + network_depth); in mlx5e_lro_update_hdr() 513 ipv4 = NULL; in mlx5e_lro_update_hdr() 526 if (ipv4) { in mlx5e_lro_update_hdr() 527 ipv4->ttl = cqe->lro_min_ttl; in mlx5e_lro_update_hdr() 528 ipv4->tot_len = cpu_to_be16(tot_len); in mlx5e_lro_update_hdr() 529 ipv4->check = 0; in mlx5e_lro_update_hdr() 530 ipv4->check = ip_fast_csum((unsigned char *)ipv4, in mlx5e_lro_update_hdr() 531 ipv4->ihl); in mlx5e_lro_update_hdr()
|
D | en_arfs.c | 271 src_ipv4_src_ipv6.ipv4_layout.ipv4); in arfs_create_groups() 273 dst_ipv4_dst_ipv6.ipv4_layout.ipv4); in arfs_create_groups() 516 outer_headers.src_ipv4_src_ipv6.ipv4_layout.ipv4), in arfs_add_rule() 520 outer_headers.dst_ipv4_dst_ipv6.ipv4_layout.ipv4), in arfs_add_rule() 524 outer_headers.src_ipv4_src_ipv6.ipv4_layout.ipv4); in arfs_add_rule() 526 outer_headers.dst_ipv4_dst_ipv6.ipv4_layout.ipv4); in arfs_add_rule()
|
D | en_fs_ethtool.c | 123 src_ipv4_src_ipv6.ipv4_layout.ipv4), in set_ips() 126 src_ipv4_src_ipv6.ipv4_layout.ipv4), in set_ips() 131 dst_ipv4_dst_ipv6.ipv4_layout.ipv4), in set_ips() 134 dst_ipv4_dst_ipv6.ipv4_layout.ipv4), in set_ips()
|
D | en_tc.c | 263 src_ipv4_src_ipv6.ipv4_layout.ipv4), in parse_cls_flower() 266 src_ipv4_src_ipv6.ipv4_layout.ipv4), in parse_cls_flower() 269 dst_ipv4_dst_ipv6.ipv4_layout.ipv4), in parse_cls_flower() 272 dst_ipv4_dst_ipv6.ipv4_layout.ipv4), in parse_cls_flower()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | mcg.c | 872 rule_hw->ipv4.src_ip = spec->ipv4.src_ip; in parse_trans_rule() 873 rule_hw->ipv4.src_ip_msk = spec->ipv4.src_ip_msk; in parse_trans_rule() 874 rule_hw->ipv4.dst_ip = spec->ipv4.dst_ip; in parse_trans_rule() 875 rule_hw->ipv4.dst_ip_msk = spec->ipv4.dst_ip_msk; in parse_trans_rule() 929 if (cur->ipv4.src_ip) in mlx4_err_rule() 932 &cur->ipv4.src_ip); in mlx4_err_rule() 933 if (cur->ipv4.dst_ip) in mlx4_err_rule() 936 &cur->ipv4.dst_ip); in mlx4_err_rule()
|
D | en_ethtool.c | 1378 spec_l3->ipv4.src_ip = cmd->fs.h_u.usr_ip4_spec.ip4src; in add_ip_rule() 1380 spec_l3->ipv4.src_ip_msk = EN_ETHTOOL_WORD_MASK; in add_ip_rule() 1381 spec_l3->ipv4.dst_ip = cmd->fs.h_u.usr_ip4_spec.ip4dst; in add_ip_rule() 1383 spec_l3->ipv4.dst_ip_msk = EN_ETHTOOL_WORD_MASK; in add_ip_rule() 1422 spec_l3->ipv4.src_ip = cmd->fs.h_u.tcp_ip4_spec.ip4src; in add_tcp_udp_rule() 1423 spec_l3->ipv4.dst_ip = cmd->fs.h_u.tcp_ip4_spec.ip4dst; in add_tcp_udp_rule() 1434 spec_l3->ipv4.src_ip = cmd->fs.h_u.udp_ip4_spec.ip4src; in add_tcp_udp_rule() 1435 spec_l3->ipv4.dst_ip = cmd->fs.h_u.udp_ip4_spec.ip4dst; in add_tcp_udp_rule() 1441 spec_l3->ipv4.src_ip_msk = EN_ETHTOOL_WORD_MASK; in add_tcp_udp_rule() 1443 spec_l3->ipv4.dst_ip_msk = EN_ETHTOOL_WORD_MASK; in add_tcp_udp_rule()
|
/drivers/scsi/fnic/ |
D | cq_enet_desc.h | 100 u8 *ipv6, u8 *ipv4, u8 *ipv4_fragment, u8 *fcs_ok) in cq_enet_rq_desc_dec() argument 161 *ipv4 = (desc->flags & CQ_ENET_RQ_DESC_FLAGS_IPV4) ? 1 : 0; in cq_enet_rq_desc_dec()
|
/drivers/infiniband/hw/mlx5/ |
D | main.c | 1613 if (FIELDS_NOT_SUPPORTED(ib_spec->ipv4.mask, LAST_IPV4_FIELD)) in parse_flow_attr() 1622 src_ipv4_src_ipv6.ipv4_layout.ipv4), in parse_flow_attr() 1623 &ib_spec->ipv4.mask.src_ip, in parse_flow_attr() 1624 sizeof(ib_spec->ipv4.mask.src_ip)); in parse_flow_attr() 1626 src_ipv4_src_ipv6.ipv4_layout.ipv4), in parse_flow_attr() 1627 &ib_spec->ipv4.val.src_ip, in parse_flow_attr() 1628 sizeof(ib_spec->ipv4.val.src_ip)); in parse_flow_attr() 1630 dst_ipv4_dst_ipv6.ipv4_layout.ipv4), in parse_flow_attr() 1631 &ib_spec->ipv4.mask.dst_ip, in parse_flow_attr() 1632 sizeof(ib_spec->ipv4.mask.dst_ip)); in parse_flow_attr() [all …]
|
/drivers/infiniband/core/ |
D | uverbs.h | 228 struct ib_uverbs_flow_spec_ipv4 ipv4; member
|
/drivers/infiniband/hw/mlx4/ |
D | main.c | 1474 if (FIELDS_NOT_SUPPORTED(ib_spec->ipv4.mask, LAST_IPV4_FIELD)) in parse_flow_attr() 1478 mlx4_spec->ipv4.src_ip = ib_spec->ipv4.val.src_ip; in parse_flow_attr() 1479 mlx4_spec->ipv4.src_ip_msk = ib_spec->ipv4.mask.src_ip; in parse_flow_attr() 1480 mlx4_spec->ipv4.dst_ip = ib_spec->ipv4.val.dst_ip; in parse_flow_attr() 1481 mlx4_spec->ipv4.dst_ip_msk = ib_spec->ipv4.mask.dst_ip; in parse_flow_attr()
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | tx.c | 645 bool ipv4 = (skb->protocol == htons(ETH_P_IP)); in iwl_mvm_tx_tso() local 646 u16 ip_base_id = ipv4 ? ntohs(ip_hdr(skb)->id) : 0; in iwl_mvm_tx_tso() 783 if (ipv4) in iwl_mvm_tx_tso() 791 if (ipv4) in iwl_mvm_tx_tso()
|
/drivers/net/vmxnet3/ |
D | vmxnet3_int.h | 217 bool ipv4; member
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_txrx.c | 1295 bool ipv4, ipv6; in i40e_rx_checksum() local 1323 ipv4 = (decoded.outer_ip == I40E_RX_PTYPE_OUTER_IP) && in i40e_rx_checksum() 1328 if (ipv4 && in i40e_rx_checksum() 2063 struct iphdr *ipv4; in i40e_atr() member 2097 l4_proto = hdr.ipv4->protocol; in i40e_atr()
|