Searched refs:htons (Results 1 - 25 of 963) sorted by path
1234567891011>>
/linux-master/drivers/infiniband/ulp/opa_vnic/ |
H A D | opa_vnic_encap.c | 417 case htons(ETH_P_IPV6): 428 case htons(ETH_P_IP):
|
/linux-master/drivers/net/ethernet/cisco/enic/ |
H A D | enic_clsf.c | 182 if (!res || keys.basic.n_proto != htons(ETH_P_IP) ||
|
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_selftest.c | 70 ethh->h_proto = htons(ETH_P_ARP);
|
H A D | fw_qos.c | 134 htons(MLX4_RATELIMIT_100M_UNITS); 138 htons(MLX4_RATELIMIT_1G_UNITS); 140 tc->max_bw_value = htons(r); 142 tc->max_bw_value = htons(MLX4_RATELIMIT_DEFAULT); 143 tc->max_bw_units = htons(MLX4_RATELIMIT_1G_UNITS); 146 tc->pg = htons(pg[i]); 147 tc->bw_precentage = htons(tc_tx_bw[i]);
|
/linux-master/drivers/net/ethernet/sfc/falcon/ |
H A D | filter.h | 187 spec->ether_type = htons(ETH_P_IP); 212 spec->ether_type = htons(ETH_P_IP); 239 spec->outer_vid = htons(vid);
|
/linux-master/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_els.c | 94 rrq.rrq_ox_id = htons(aborted_io_req->xid); 95 rrq.rrq_rx_id = htons(aborted_io_req->task->rxwr_txrd.var_ctx.rx_id); 607 rec.rec_ox_id = htons(orig_io_req->xid); 608 rec.rec_rx_id = htons(orig_io_req->task->rxwr_txrd.var_ctx.rx_id); 647 srr.srr_ox_id = htons(orig_io_req->xid); 648 srr.srr_rx_id = htons(orig_io_req->task->rxwr_txrd.var_ctx.rx_id);
|
/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/include/net/ |
H A D | x25device.h | 16 return htons(ETH_P_X25);
|
/linux-master/net/802/ |
H A D | fc.c | 53 fcllc->ethertype = htons(type);
|
/linux-master/net/8021q/ |
H A D | vlan_gvrp.c | 30 __be16 vlan_id = htons(vlan->vlan_id); 32 if (vlan->vlan_proto != htons(ETH_P_8021Q)) 41 __be16 vlan_id = htons(vlan->vlan_id); 43 if (vlan->vlan_proto != htons(ETH_P_8021Q))
|
H A D | vlan_mvrp.c | 28 .pkttype.type = htons(ETH_P_MVRP), 36 __be16 vlan_id = htons(vlan->vlan_id); 38 if (vlan->vlan_proto != htons(ETH_P_8021Q)) 47 __be16 vlan_id = htons(vlan->vlan_id); 49 if (vlan->vlan_proto != htons(ETH_P_8021Q))
|
/linux-master/net/bridge/netfilter/ |
H A D | ebt_among.c | 73 if (eth_hdr(skb)->h_proto == htons(ETH_P_IP)) { 81 } else if (eth_hdr(skb)->h_proto == htons(ETH_P_ARP)) { 104 if (eth_hdr(skb)->h_proto == htons(ETH_P_IP)) { 112 } else if (eth_hdr(skb)->h_proto == htons(ETH_P_ARP)) {
|
H A D | ebt_arp.c | 43 if (ah->ar_pln != sizeof(__be32) || ah->ar_pro != htons(ETH_P_IP)) 72 if (ah->ar_hln != ETH_ALEN || ah->ar_hrd != htons(ARPHRD_ETHER)) 106 if ((e->ethproto != htons(ETH_P_ARP) && 107 e->ethproto != htons(ETH_P_RARP)) ||
|
H A D | ebt_arpreply.c | 34 if (ap->ar_op != htons(ARPOP_REQUEST) || 36 ap->ar_pro != htons(ETH_P_IP) || 69 if (e->ethproto != htons(ETH_P_ARP) ||
|
H A D | ebt_ip.c | 109 if (e->ethproto != htons(ETH_P_IP) ||
|
H A D | ebt_ip6.c | 111 if (e->ethproto != htons(ETH_P_IPV6) || e->invflags & EBT_IPROTO)
|
H A D | ebt_log.c | 98 htons(ETH_P_IP)) { 115 htons(ETH_P_IPV6)) { 139 ((eth_hdr(skb)->h_proto == htons(ETH_P_ARP)) || 140 (eth_hdr(skb)->h_proto == htons(ETH_P_RARP)))) { 156 if (ah->ar_hrd == htons(1) &&
|
H A D | ebt_vlan.c | 83 if (e->ethproto != htons(ETH_P_8021Q)) {
|
/linux-master/net/ieee802154/6lowpan/ |
H A D | tx.c | 167 frag_tag = htons(lowpan_802154_dev(ldev)->fragment_tag);
|
/linux-master/net/ipv4/netfilter/ |
H A D | ipt_ECN.c | 38 csum_replace2(&iph->check, htons(oldtos), htons(iph->tos));
|
H A D | nf_nat_snmp_basic_main.c | 170 if (udph->source == htons(SNMP_PORT) && dir != IP_CT_DIR_REPLY) 172 if (udph->dest == htons(SNMP_TRAP_PORT) && dir != IP_CT_DIR_ORIGINAL)
|
/linux-master/net/ipv6/netfilter/ |
H A D | ip6t_eui64.c | 33 if (eth_hdr(skb)->h_proto == htons(ETH_P_IPV6)) {
|
/linux-master/net/netfilter/ipvs/ |
H A D | ip_vs_proto.c | 226 else if (ih->frag_off & htons(IP_OFFSET))
|
H A D | ip_vs_proto_ah_esp.c | 46 &iph->saddr, htons(PORT_ISAKMP), 47 &iph->daddr, htons(PORT_ISAKMP), p); 50 &iph->daddr, htons(PORT_ISAKMP), 51 &iph->saddr, htons(PORT_ISAKMP), p);
|
/linux-master/net/netfilter/ |
H A D | nf_conntrack_amanda.c | 141 port = htons(simple_strtoul(pbuf, &tmp, 10));
|
Completed in 262 milliseconds
1234567891011>>