Searched refs:htons (Results 126 - 150 of 962) sorted by relevance
1234567891011>>
/linux-master/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_fdir.c | 41 if (fltr->eth_mask.etype && fltr->eth_mask.etype != htons(U16_MAX)) 75 if (fltr->ip_mask.src_port && fltr->ip_mask.src_port != htons(U16_MAX)) 78 if (fltr->ip_mask.dst_port && fltr->ip_mask.dst_port != htons(U16_MAX)) 148 pay_word[hdr_offs >> 1] = htons(fltr->flex_words[i].word); 403 if (fltr->ip_mask.src_port == htons(U16_MAX)) { 408 if (fltr->ip_mask.dst_port == htons(U16_MAX)) { 432 if (fltr->ip_mask.src_port == htons(U16_MAX)) { 437 if (fltr->ip_mask.dst_port == htons(U16_MAX)) { 464 if (fltr->ip_mask.src_port == htons(U16_MAX)) { 469 if (fltr->ip_mask.dst_port == htons(U16_MA [all...] |
/linux-master/include/linux/sunrpc/ |
H A D | addr.h | 39 ((struct sockaddr_in *)sap)->sin_port = htons(port); 42 ((struct sockaddr_in6 *)sap)->sin6_port = htons(port);
|
/linux-master/tools/testing/selftests/net/ |
H A D | tcp_inq.c | 46 addr4->sin_port = htons(port); 52 addr6->sin6_port = htons(port);
|
/linux-master/net/ipv4/netfilter/ |
H A D | ipt_ECN.c | 38 csum_replace2(&iph->check, htons(oldtos), htons(iph->tos));
|
/linux-master/net/netfilter/ |
H A D | xt_TCPOPTSTRIP.c | 79 inet_proto_csum_replace2(&tcph->check, skb, htons(o), 80 htons(n), false);
|
H A D | xt_AUDIT.c | 83 case htons(ETH_P_IP): 86 case htons(ETH_P_IPV6):
|
H A D | nft_reject_netdev.c | 97 case htons(ETH_P_IP): function 118 case htons(ETH_P_IPV6): function
|
/linux-master/net/sched/ |
H A D | em_ipset.c | 63 case htons(ETH_P_IP): 69 case htons(ETH_P_IPV6):
|
/linux-master/net/8021q/ |
H A D | vlan.h | 42 case htons(ETH_P_8021Q): 44 case htons(ETH_P_8021AD):
|
H A D | vlan.c | 226 err = vlan_check_real_dev(real_dev, htons(ETH_P_8021Q), vlan_id, 270 vlan->vlan_proto = htons(ETH_P_8021Q); 385 vlan_vid_add(dev, htons(ETH_P_8021Q), 0); 389 vlan_vid_del(dev, htons(ETH_P_8021Q), 0); 507 err = vlan_filter_push_vids(vlan_info, htons(ETH_P_8021Q)); 513 vlan_filter_drop_vids(vlan_info, htons(ETH_P_8021Q)); 517 err = vlan_filter_push_vids(vlan_info, htons(ETH_P_8021AD)); 523 vlan_filter_drop_vids(vlan_info, htons(ETH_P_8021AD));
|
/linux-master/drivers/infiniband/sw/rxe/ |
H A D | rxe_icrc.c | 82 (skb->protocol == htons(ETH_P_IP) ? 96 if (skb->protocol == htons(ETH_P_IP)) { /* IPv4 */
|
/linux-master/net/rds/ |
H A D | tcp_connect.c | 158 sin6.sin6_port = htons(RDS_TCP_PORT); 166 sin.sin_port = htons(RDS_TCP_PORT);
|
/linux-master/net/dsa/ |
H A D | tag.h | 67 if (!skb_vlan_tag_present(skb) && skb->protocol == htons(proto)) { 97 upper_dev = __vlan_find_dev_deep_rcu(br, htons(proto), vid);
|
/linux-master/net/802/ |
H A D | fddi.c | 67 fddi->hdr.llc_snap.ethertype = htons(type); 109 type = htons(ETH_P_802_2);
|
/linux-master/drivers/net/arcnet/ |
H A D | rfc1201.c | 112 return htons(ETH_P_IP); 114 return htons(ETH_P_IPV6); 116 return htons(ETH_P_ARP); 118 return htons(ETH_P_RARP); 122 return htons(ETH_P_802_3); 129 return htons(ETH_P_IP); 424 soft->sequence = htons(lp->rfc1201.sequence++); 459 excsoft.sequence = htons(0xffff);
|
/linux-master/net/ipv6/ |
H A D | output_core.c | 131 ipv6_hdr(skb)->payload_len = htons(len); 141 skb->protocol = htons(ETH_P_IPV6);
|
/linux-master/include/net/netfilter/ |
H A D | nf_queue.h | 87 case htons(ETH_P_IP): 93 case htons(ETH_P_IPV6):
|
/linux-master/net/ipv4/ |
H A D | xfrm4_input.c | 62 iph->tot_len = htons(skb->len); 133 iph->tot_len = htons(ntohs(iph->tot_len) - len);
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | network_helpers.h | 102 s += htons(proto + len); 121 s += htons(proto + len);
|
/linux-master/arch/um/drivers/ |
H A D | slip_kern.c | 44 return htons(ETH_P_IP);
|
/linux-master/net/ipv6/netfilter/ |
H A D | nf_dup_ipv6.c | 42 skb->protocol = htons(ETH_P_IPV6);
|
/linux-master/drivers/scsi/csiostor/ |
H A D | csio_mb.c | 322 cmdp->fcoecaps |= htons(FW_CAPS_CONFIG_FCOE_CTRL_OFLD); 324 cmdp->fcoecaps |= htons(FW_CAPS_CONFIG_FCOE_INITIATOR); 326 cmdp->fcoecaps |= htons(FW_CAPS_CONFIG_FCOE_TARGET); 461 cmdp->fl0size = htons(iq_params->fl0size); 462 cmdp->fl0size = htons(iq_params->fl1size); 511 cmdp->iqid |= htons(iq_params->iqid); 512 cmdp->fl0id |= htons(iq_params->fl0id); 513 cmdp->fl1id |= htons(iq_params->fl1id); 519 cmdp->iqdroprss_to_iqesize |= htons( 527 cmdp->iqsize |= htons(iq_param [all...] |
/linux-master/net/xfrm/ |
H A D | xfrm_inout.h | 30 XFRM_MODE_SKB_CB(skb)->frag_off = htons(IP_DF);
|
/linux-master/net/bridge/netfilter/ |
H A D | ebt_snat.c | 30 eth_hdr(skb)->h_proto == htons(ETH_P_ARP)) {
|
/linux-master/drivers/net/ethernet/qualcomm/rmnet/ |
H A D | rmnet_map_command.c | 61 skb->protocol = htons(ETH_P_MAP);
|
Completed in 251 milliseconds
1234567891011>>