/linux-master/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
H A D | chtls_cm.c | 1151 fl6.fl6_sport = htons(inet_rsk(oreq)->ir_num);
|
H A D | chtls_hw.c | 31 req->reply_ctrl = htons(NO_REPLY_V(no_reply) | 33 req->word_cookie = htons(TCB_WORD_V(word) | TCB_COOKIE_V(cookie)); 404 kwr->wr.mfs = htons(TLS_MFS);
|
H A D | chtls_io.c | 411 req_wr->mfs = htons(hws->mfs); 413 htons(FW_TLSTX_DATA_WR_ADJUSTEDPLEN_V(hws->adjustlen)); 415 htons(FW_TLSTX_DATA_WR_EXPINPLENMAX_V(hws->expansion));
|
/linux-master/drivers/net/ethernet/cisco/enic/ |
H A D | enic_main.c | 259 case htons(ETH_P_IPV6): 264 case htons(ETH_P_IP): 1412 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vlan_tci);
|
H A D | enic_pp.c | 60 const __be16 os_type = htons(VIC_GENERIC_PROV_OS_TYPE_LINUX);
|
H A D | vnic_vic.c | 50 tlv->type = htons(type); 51 tlv->length = htons(length);
|
/linux-master/drivers/net/ethernet/cortina/ |
H A D | gemini.c | 1181 if (skb->protocol == htons(ETH_P_IP)) {
|
/linux-master/drivers/net/ethernet/emulex/benet/ |
H A D | be.h | 916 return skb->protocol == htons(ETH_P_IP) && ip_hdr(skb)->version == 4;
|
H A D | be_main.c | 1070 skb = vlan_insert_tag_set_proto(skb, htons(ETH_P_8021Q), 1080 skb = vlan_insert_tag_set_proto(skb, htons(ETH_P_8021Q), 1095 if (eh->h_proto == htons(ETH_P_IPV6)) { 1149 veh->h_vlan_proto == htons(ETH_P_8021Q)) 1268 #define is_arp(skb) (skb->protocol == htons(ETH_P_ARP)) 1317 if ((*skb)->protocol == htons(ETH_P_IPV6)) { 1988 if (vlan_proto != htons(ETH_P_8021Q)) 2423 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), rxcp->vlan_tag); 2482 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), rxcp->vlan_tag); 5101 case htons(ETH_P_I [all...] |
/linux-master/drivers/net/ethernet/engleder/ |
H A D | tsnep_rxnfc.c | 115 fsp->h_u.ether_spec.h_proto = htons(rule->filter.ether_type);
|
/linux-master/drivers/net/ethernet/faraday/ |
H A D | ftgmac100.c | 540 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
|
/linux-master/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-eth.c | 850 *(__be16 *)(data + offset2) = htons(origin_timestamp.sec_msb);
|
H A D | dpaa2-ethtool.c | 417 *(__be16 *)(key + off) = htons(tmp_value >> 16); 418 *(__be16 *)(mask + off) = htons(tmp_mask >> 16); 422 *(__be16 *)(key + off) = htons(tmp_value & 0xFFFF); 423 *(__be16 *)(mask + off) = htons(tmp_mask & 0xFFFF); 429 *(__be16 *)(key + off) = htons(ETH_P_IP); 430 *(__be16 *)(mask + off) = htons(0xFFFF); 475 *(__be16 *)(key + off) = htons(ETH_P_IP); 476 *(__be16 *)(mask + off) = htons(0xFFFF);
|
H A D | dpaa2-switch.c | 2049 __be16 vlan_proto = htons(ETH_P_8021Q); 2059 __be16 vlan_proto = htons(ETH_P_8021Q);
|
/linux-master/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc.c | 254 htons((sec >> 32) & 0xffff); 1015 skb->csum = csum_unfold((__force __sum16)~htons(inet_csum)); 1024 tpid = htons(ETH_P_8021Q); 1027 tpid = htons(ETH_P_8021AD); 1030 tpid = htons(enetc_port_rd(&priv->si->hw, 1034 tpid = htons(enetc_port_rd(&priv->si->hw,
|
H A D | enetc_pf.c | 372 if (proto != htons(ETH_P_8021Q))
|
/linux-master/drivers/net/ethernet/freescale/ |
H A D | fec_main.c | 445 return skb->protocol == htons(ETH_P_IP) && ip_hdr(skb)->version == 4; 1834 htons(ETH_P_8021Q),
|
H A D | gianfar.c | 2493 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
|
/linux-master/drivers/net/ethernet/fujitsu/ |
H A D | fmvj18x_cs.c | 783 htons(inw(ioaddr + TX_STATUS)), 788 htons(inw(ioaddr + 0)), htons(inw(ioaddr + 2)), 789 htons(inw(ioaddr + 4)), htons(inw(ioaddr + 6)), 790 htons(inw(ioaddr + 8)), htons(inw(ioaddr + 10)), 791 htons(inw(ioaddr + 12)), htons(inw(ioaddr + 14)));
|
/linux-master/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth_main.c | 1253 if (vlan_proto && vlan_proto != htons(ETH_P_8021Q) && 1254 vlan_proto != htons(ETH_P_8021AD))
|
/linux-master/drivers/net/ethernet/hisilicon/hns/ |
H A D | hns_enet.c | 77 if (protocol == htons(ETH_P_8021Q)) { 83 if (skb->protocol == htons(ETH_P_IP)) { 97 } else if (skb->protocol == htons(ETH_P_IPV6)) { 177 if (protocol == htons(ETH_P_8021Q)) { 183 if (skb->protocol == htons(ETH_P_IP)) { 188 } else if (skb->protocol == htons(ETH_P_IPV6)) { 1558 ethhdr->h_proto = htons(ETH_P_IP);
|
/linux-master/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_enet.c | 1252 if (skb->protocol == htons(ETH_P_IPV6)) { 1258 } else if (skb->protocol == htons(ETH_P_IP)) { 1312 (l4.udp->dest == htons(IANA_VXLAN_UDP_PORT) || 1313 l4.udp->dest == htons(GENEVE_UDP_PORT) || 1314 l4.udp->dest == htons(IANA_VXLAN_GPE_UDP_PORT)))) 1345 if (skb->protocol == htons(ETH_P_IP)) { 1354 } else if (skb->protocol == htons(ETH_P_IPV6)) { 1492 if (!(skb->protocol == htons(ETH_P_8021Q) || 1507 if (skb->protocol == htons(ETH_P_8021Q) && 1521 if (skb->protocol == htons(ETH_P_8021 [all...] |
H A D | hns3_ethtool.c | 177 ethh->h_proto = htons(ETH_P_ARP);
|
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_main.c | 3531 ivf->vlan_proto = htons(vport->port_base_vlan_cfg.vlan_info.vlan_proto); 6999 if (fkeys->basic.n_proto == htons(ETH_P_IP)) { 10046 return hclge_set_vlan_filter(handle, htons(ETH_P_8021Q), 0, false); 10087 ret = hclge_set_vlan_filter_hw(hdev, htons(ETH_P_8021Q), 10117 htons(ETH_P_8021Q), 10139 htons(ETH_P_8021Q), 10196 ret = hclge_set_vlan_filter_hw(hdev, htons(vlan_proto), 10214 ret = hclge_set_vlan_filter_hw(hdev, htons(ETH_P_8021Q), 10314 htons(new_info->vlan_proto), 10327 ret = hclge_set_vlan_filter_hw(hdev, htons(old_inf [all...] |
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3vf/ |
H A D | hclgevf_main.c | 1236 if (proto != htons(ETH_P_8021Q)) 1282 ret = hclgevf_set_vlan_filter(handle, htons(ETH_P_8021Q), 2195 return hclgevf_set_vlan_filter(&hdev->nic, htons(ETH_P_8021Q), 0,
|