Searched refs:ntohs (Results 426 - 450 of 603) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/staging/ks7010/
H A Dks_hostif.c344 eth_proto = ntohs(eth_hdr->h_proto);
1143 eth_proto = ntohs(eth_hdr->h_proto);
1151 keyinfo = ntohs(eap_key->key_info);
/linux-master/net/bridge/
H A Dbr_vlan.c930 *p_proto = ntohs(br->vlan_proto);
943 .u.vlan_protocol = ntohs(proto),
988 attr.u.vlan_protocol = ntohs(oldproto);
H A Dbr_mrp.c1020 if (mrp->in_id != ntohs(in_hdr->id))
/linux-master/net/bridge/netfilter/
H A Debtables.c419 ntohs(e->ethproto), e->invflags & EBT_IPROTO);
456 ntohs(e->ethproto), e->invflags & EBT_IPROTO);
782 ntohs(e->ethproto), e->invflags & EBT_IPROTO);
/linux-master/lib/
H A Dvsprintf.c1415 word = ntohs(in6.s6_addr16[i]);
1529 p = number(p, pend, ntohs(sa->sin6_port), spec);
1573 p = number(p, pend, ntohs(sa->sin_port), spec);
/linux-master/drivers/net/ethernet/mscc/
H A Docelot_vcap.c1107 proto = ntohs(*(__be16 *)filter->key.etype.etype.value);
1108 mask = ntohs(*(__be16 *)filter->key.etype.etype.mask);
/linux-master/drivers/net/ethernet/packetengines/
H A Dhamachi.c1534 if (ntohs(ih->tot_len) >= 46){
1568 skb->csum = ntohs(pfck & 0xffff);
/linux-master/drivers/scsi/qedi/
H A Dqedi_iscsi.c951 qedi_ep->dst_port = ntohs(addr->sin_port);
960 qedi_ep->dst_port = ntohs(addr6->sin6_port);
/linux-master/net/netfilter/
H A Dnf_conntrack_sip.c944 base_port = ntohs(tuple.dst.u.udp.port) & ~1;
952 mediaoff, medialen, ntohs(rtp_port)))
/linux-master/tools/testing/selftests/net/
H A Dnettest.c229 ntohs(s->sin_port));
238 ntohs(s6->sin6_port));
H A Dpsock_tpacket.c136 "type: 0x%x!\n", ntohs(eth->h_proto));
/linux-master/drivers/net/ethernet/sfc/
H A Dptp.c1751 version = ntohs(*(__be16 *)&data[PTP_V1_VERSION_OFFSET]);
1767 if (ntohs(*(__be16 *)&data[PTP_DPORT_OFFSET]) == PTP_EVENT_PORT) {
/linux-master/drivers/net/ethernet/sfc/siena/
H A Dptp.c1633 version = ntohs(*(__be16 *)&data[PTP_V1_VERSION_OFFSET]);
1670 if (ntohs(*(__be16 *)&data[PTP_DPORT_OFFSET]) == PTP_EVENT_PORT) {
/linux-master/fs/dlm/
H A Dlowcomms.c604 ntohs(inet->inet_dport), sk->sk_err,
613 ntohs(inet->inet_dport), sk->sk_err,
/linux-master/drivers/net/ethernet/xscale/
H A Dixp4xx_eth.c304 return (uid_hi == ntohs(*hi) &&
306 seqid == ntohs(*id));
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_txrx.c1051 switch (ntohs(proto)) {
1119 if (ntohs(eth->h_proto) == ETH_P_IPV6)
H A Dotx2_flows.c1019 vlan_prio = ntohs(req->packet.vlan_tci) &
1020 ntohs(req->mask.vlan_tci);
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_tc_lib.c1527 n_proto_key = ntohs(match.key->n_proto);
1528 n_proto_mask = ntohs(match.mask->n_proto);
/linux-master/net/ipv4/
H A Dip_gre.c578 (ntohs(ip_hdr(skb)->tot_len) > skb->len - nhoff))
588 if (ntohs(ipv6_hdr(skb)->payload_len) > skb->len - thoff)
H A Daf_inet.c509 snum = ntohs(addr->sin_port);
1394 id = ntohs(iph->id);
/linux-master/tools/testing/selftests/net/mptcp/
H A Dpm_nl_ctl.c187 ntohs(*(__u16 *)RTA_DATA(attrs)));
190 ntohs(*(__u16 *)RTA_DATA(attrs)));
/linux-master/security/selinux/
H A Dhooks.c4301 if (ntohs(ih->frag_off) & IP_OFFSET)
4317 if (ntohs(ih->frag_off) & IP_OFFSET)
4333 if (ntohs(ih->frag_off) & IP_OFFSET)
4350 if (ntohs(ih->frag_off) & IP_OFFSET)
4732 snum = ntohs(addr4->sin_port);
4739 snum = ntohs(addr6->sin6_port);
4861 snum = ntohs(addr4->sin_port);
4867 snum = ntohs(addr6->sin6_port);
/linux-master/net/openvswitch/
H A Dactions.c242 ntohs(vlan->vlan_tci) & ~VLAN_CFI_MASK);
912 ovs_vport_name(vport), ntohs(key->eth.type), mru,
/linux-master/drivers/scsi/qedf/
H A Dqedf_els.c520 cb_arg->l2_oxid = ntohs(fh->fh_ox_id);
/linux-master/drivers/scsi/elx/libefc/
H A Defc_fabric.c127 return !(ntohs(rsp->fl_csp.sp_features) & FC_SP_FT_FPORT);

Completed in 352 milliseconds

<<11121314151617181920>>