Searched refs:ntohs (Results 301 - 325 of 603) sorted by relevance
<<11121314151617181920>>
/linux-master/net/netfilter/ipset/ |
H A D | ip_set_bitmap_port.c | 142 port = ntohs(__port);
|
/linux-master/net/netfilter/ |
H A D | xt_hashlimit.c | 1102 ntohs(ent->dst.src_port), 1104 ntohs(ent->dst.dst_port), 1113 ntohs(ent->dst.src_port), 1115 ntohs(ent->dst.dst_port),
|
H A D | nf_conntrack_proto_gre.c | 175 pr_debug("Unsupported GRE proto(0x%x)\n", ntohs(grehdr->protocol));
|
H A D | nf_flow_table_offload.c | 475 port = ntohs(flow->tuplehash[FLOW_OFFLOAD_DIR_REPLY].tuple.dst_port); 481 port = ntohs(flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINAL].tuple.src_port); 505 port = ntohs(flow->tuplehash[FLOW_OFFLOAD_DIR_REPLY].tuple.src_port); 511 port = ntohs(flow->tuplehash[FLOW_OFFLOAD_DIR_ORIGINAL].tuple.dst_port);
|
H A D | nft_inner.c | 130 if ((ntohs(iph->frag_off) & IP_OFFSET) == 0) {
|
/linux-master/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_sriov.c | 139 vlan_tag |= FIELD_PREP(NFP_NET_VF_CFG_VLAN_PROT, ntohs(vlan_proto));
|
/linux-master/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_netdev.c | 385 ntohs(interface->vxlan_port) | 390 ntohs(interface->geneve_port)); 550 ntohs(vhdr->h_vlan_TCI)); 552 skb->protocol = (ntohs(proto) >= 1536) ? proto :
|
/linux-master/drivers/net/vxlan/ |
H A D | vxlan_private.h | 56 return &vn->sock_list[hash_32(ntohs(port), PORT_HASH_BITS)];
|
/linux-master/net/batman-adv/ |
H A D | multicast.c | 1108 switch (ntohs(ethhdr->h_proto)) { 1138 switch (ntohs(ethhdr->h_proto)) { 1430 switch (ntohs(eth_hdr(skb)->h_proto)) { 1533 switch (ntohs(eth_hdr(skb)->h_proto)) {
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | tx_tso.c | 185 st->ipv4_id = ntohs(ip_hdr(skb)->id);
|
/linux-master/net/packet/ |
H A D | diag.c | 146 rp->pdiag_num = ntohs(READ_ONCE(po->num));
|
/linux-master/net/sched/ |
H A D | act_skbmod.c | 265 nla_put_u16(skb, TCA_SKBMOD_ETYPE, ntohs(p->eth_type)))
|
/linux-master/tools/testing/selftests/net/netfilter/ |
H A D | nf_queue.c | 92 ntohs(ph->hw_protocol), ph->hook);
|
/linux-master/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_els.c | 198 cb_arg->l2_oxid = ntohs(fh->fh_ox_id); 226 cb_arg->l2_oxid = ntohs(fh->fh_ox_id); 254 cb_arg->l2_oxid = ntohs(fh->fh_ox_id);
|
/linux-master/drivers/net/wan/ |
H A D | hdlc_ppp.c | 457 pid = ntohs(hdr->protocol); 466 len = ntohs(cp->len); 493 pid = ntohs(*(__be16 *)skb->data);
|
/linux-master/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_iwarp.c | 758 mpa_ord = ntohs(mpa_v2->ord); 759 mpa_ird = ntohs(mpa_v2->ird); 953 mpa_ird = ntohs(mpa_v2_params->ird); 954 mpa_ord = ntohs(mpa_v2_params->ord); 1687 eth_type = ntohs(ethh->h_proto); 1691 cm_info->vlan = ntohs(vethh->h_vlan_TCI) & VLAN_VID_MASK; 1692 eth_type = ntohs(vethh->h_vlan_encapsulated_proto); 1730 *payload_len = ntohs(iph->tot_len) - ip_hlen; 1750 *payload_len = ntohs(ip6h->payload_len); 1765 cm_info->local_port = ntohs(tcp [all...] |
/linux-master/net/sctp/ |
H A D | output.c | 234 pkt->size += SCTP_PAD4(ntohs(pad->chunk_hdr->length)); 331 __u16 chunk_len = SCTP_PAD4(ntohs(chunk->chunk_hdr->length)); 507 ntohs(chunk->chunk_hdr->length), chunk->skb->len,
|
/linux-master/net/appletalk/ |
H A D | aarp.c | 446 sa->sat_addr.s_net = ntohs(iface->address.s_net); 734 function = ntohs(ea->function); 1013 ntohs(entry->target_addr.s_net),
|
/linux-master/drivers/media/test-drivers/vicodec/ |
H A D | codec-fwht.c | 127 stat = ntohs(*input++); 144 in = ntohs(*input++); 736 s16 hdr = ntohs(*last_rlco);
|
/linux-master/net/dccp/ |
H A D | ipv4.c | 268 iph->saddr, ntohs(dh->dccph_sport), 821 &iph->saddr, ntohs(dh->dccph_sport), 822 &iph->daddr, ntohs(dh->dccph_dport),
|
/linux-master/net/ipv4/ |
H A D | udp_offload.c | 456 ulen = ntohs(uh->len); 489 if (ulen > ntohs(uh2->len) || flush) { 511 if (ret || ulen != ntohs(uh2->len) ||
|
H A D | udp.c | 485 unsigned short hnum = ntohs(dport); 2253 unsigned short hnum = ntohs(uh->dest); 2404 ulen = ntohs(uh->len); 2470 &saddr, ntohs(uh->source), 2472 &daddr, ntohs(uh->dest)); 2483 &saddr, ntohs(uh->source), &daddr, ntohs(uh->dest), 2501 unsigned short hnum = ntohs(loc_port); 2537 unsigned short hnum = ntohs(loc_port); 3101 __u16 destp = ntohs(ine [all...] |
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_82599.c | 1495 u32 mask = ntohs(input_mask->formatted.dst_port); 1498 mask |= ntohs(input_mask->formatted.src_port); 1519 #define IXGBE_STORE_AS_BE16(_value) __swab16(ntohs((_value))) 1570 switch (ntohs(input_mask->formatted.vlan_id) & 0xEFFF) { 1663 fdirvlan |= ntohs(input->formatted.vlan_id);
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_tc.c | 581 ntohs(match.key->vlan_tpid)); 593 ntohs(match.key->vlan_tpid), match.key->vlan_id); 706 if (ntohs(flow_spec->etype) == ETH_P_IP) { 710 } else if (ntohs(flow_spec->etype) == ETH_P_IPV6) { 767 if ((ntohs(flow_spec->etype) != ETH_P_IP) &&
|
/linux-master/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_filter.c | 197 ntohs(fltr->tuple.src_port), 198 ntohs(fltr->tuple.dst_port), fltr->rxq_id); 970 tunn_params.vxlan_port = ntohs(ti.port); 974 tunn_params.geneve_port = ntohs(ti.port); 984 *save_port = ntohs(ti.port);
|
Completed in 639 milliseconds
<<11121314151617181920>>