Searched refs:ntohs (Results 501 - 525 of 604) sorted by relevance

<<2122232425

/linux-master/drivers/net/plip/
H A Dplip.c566 if (ntohs(eth->h_proto) >= ETH_P_802_3_MIN)
/linux-master/net/ipv6/
H A Daf_inet6.c302 snum = ntohs(addr->sin6_port);
H A Draw.c792 proto = ntohs(sin6->sin6_port);
H A Dip6_vti.c624 spi = htonl(ntohs(ipch->cpi));
/linux-master/net/mctp/
H A Droute.c571 rc = dev_hard_header(skb, skb->dev, ntohs(skb->protocol),
/linux-master/net/batman-adv/
H A Ddistributed-arp-table.c1060 type = ntohs(arphdr->ar_op);
H A Dnetlink.c253 ntohs(bat_priv->bla.claim_dest.group)))
/linux-master/net/l2tp/
H A Dl2tp_ppp.c1540 port = ntohs(inet->inet_sport);
/linux-master/drivers/net/wireless/marvell/mwifiex/
H A Dwmm.c828 if (ntohs(eth_hdr->h_proto) == ETH_P_TDLS)
/linux-master/drivers/net/ethernet/ti/
H A Dam65-cpts.c889 seqid = ntohs(hdr->sequence_id);
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_sriov.c1792 u16 local_vlan_proto = ntohs(vlan_proto);
/linux-master/net/sctp/
H A Dipv6.c584 if (ntohs(param->v6.param_hdr.length) < sizeof(struct sctp_ipv6addr_param))
/linux-master/drivers/net/ethernet/sfc/
H A Def10.c2260 outer_ipv4_id = ntohs(ip->id);
2287 inner_ipv4_id = ntohs(ip->id);
3818 ntohs(nic_data->udp_tunnels[i].port),
/linux-master/net/ipv4/
H A Dipmr.c594 ntohs(encap->tot_len) + pimlen > skb->len)
1064 ip_hdr(skb)->tot_len = htons(ntohs(ip_hdr(pkt)->tot_len) +
1886 if (skb->len+encap > dst_mtu(&rt->dst) && (ntohs(iph->frag_off) & IP_DF)) {
/linux-master/net/core/
H A Dneighbour.c1560 err = dev_hard_header(skb, dev, ntohs(skb->protocol),
1589 err = dev_hard_header(skb, dev, ntohs(skb->protocol),
3177 err = dev_hard_header(skb, dev, ntohs(skb->protocol),
H A Dskbuff.c1323 ntohs(skb->protocol), skb->pkt_type, skb->skb_iif,
5689 len = sizeof(struct ipv6hdr) + ntohs(ipv6_hdr(skb)->payload_len);
6075 vlan_tci = ntohs(vhdr->h_vlan_TCI);
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.c3619 if (f->vlan == ntohs(data.vlan_id)) {
3627 vf->vf_id, ntohs(data.vlan_id));
3683 if (ntohs(data.vlan_id) > I40E_MAX_VLANID) {
/linux-master/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c1935 u16 ether_type = ntohs(hdr->h_proto);
1941 ether_type = ntohs(vhdr->h_vlan_encapsulated_proto);
3924 cpu_to_le16(ntohs(eth->h_proto));
/linux-master/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_eth.c1468 u16 ethertype = ntohs(skb->protocol);
1488 ethertype = ntohs(skb_vlan_eth_hdr(skb)->h_vlan_encapsulated_proto);
1511 ntohs(skb->protocol));
/linux-master/drivers/net/ethernet/intel/igb/
H A Digb_ethtool.c2707 etype = ntohs(input->filter.etype & ETHER_TYPE_FULL_MASK);
2734 ntohs(input->filter.vlan_tci));
2835 ntohs(input->filter.vlan_tci));
/linux-master/security/smack/
H A Dsmack_lsm.c2495 ntohs(be16p[7]) == 1)
2727 port = ntohs(addr6->sin6_port);
2822 port = ntohs(address->sin6_port);
/linux-master/drivers/net/ethernet/qualcomm/emac/
H A Demac-mac.c1262 + ntohs(ip_hdr(skb)->tot_len);
/linux-master/drivers/infiniband/hw/irdma/
H A Dpuda.c1173 fpdu_len = ntohs(*(__be16 *)datap);
/linux-master/drivers/net/phy/
H A Dnxp-c45-tja11xx.c496 return ntohs(header->sequence_id) == hwts->sequence_id &&
/linux-master/drivers/net/bonding/
H A Dbond_alb.c1434 switch (ntohs(skb->protocol)) {

Completed in 585 milliseconds

<<2122232425