Searched refs:htons (Results 151 - 175 of 964) sorted by path

1234567891011>>

/linux-master/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_cm.c1151 fl6.fl6_sport = htons(inet_rsk(oreq)->ir_num);
H A Dchtls_hw.c31 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 Dchtls_io.c411 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 Denic_main.c259 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 Denic_pp.c60 const __be16 os_type = htons(VIC_GENERIC_PROV_OS_TYPE_LINUX);
H A Dvnic_vic.c50 tlv->type = htons(type);
51 tlv->length = htons(length);
/linux-master/drivers/net/ethernet/cortina/
H A Dgemini.c1181 if (skb->protocol == htons(ETH_P_IP)) {
/linux-master/drivers/net/ethernet/emulex/benet/
H A Dbe.h916 return skb->protocol == htons(ETH_P_IP) && ip_hdr(skb)->version == 4;
H A Dbe_main.c1070 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 Dtsnep_rxnfc.c115 fsp->h_u.ether_spec.h_proto = htons(rule->filter.ether_type);
/linux-master/drivers/net/ethernet/faraday/
H A Dftgmac100.c540 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
/linux-master/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth.c850 *(__be16 *)(data + offset2) = htons(origin_timestamp.sec_msb);
H A Ddpaa2-ethtool.c417 *(__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 Ddpaa2-switch.c2049 __be16 vlan_proto = htons(ETH_P_8021Q);
2059 __be16 vlan_proto = htons(ETH_P_8021Q);
/linux-master/drivers/net/ethernet/freescale/enetc/
H A Denetc.c254 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 Denetc_pf.c372 if (proto != htons(ETH_P_8021Q))
/linux-master/drivers/net/ethernet/freescale/
H A Dfec_main.c445 return skb->protocol == htons(ETH_P_IP) && ip_hdr(skb)->version == 4;
1834 htons(ETH_P_8021Q),
H A Dgianfar.c2493 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
/linux-master/drivers/net/ethernet/fujitsu/
H A Dfmvj18x_cs.c783 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 Dfuneth_main.c1253 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 Dhns_enet.c77 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 Dhns3_enet.c1252 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 Dhns3_ethtool.c177 ethh->h_proto = htons(ETH_P_ARP);
/linux-master/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c3531 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 Dhclgevf_main.c1236 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,

Completed in 582 milliseconds

1234567891011>>