/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/net/ipv4/netfilter/ |
H A D | ipt_TOS.c | 35 csum_replace2(&iph->check, htons(oldtos), htons(iph->tos));
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/accel-pptp/src/pppd/plugins/pppoatm/ |
H A D | misc.c | 14 #include <netinet/in.h> /* for htons */ 49 vs_id[5] = (htons(port) >> 8) & 255; 50 vs_id[6] = htons(port) & 255;
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/busybox/networking/udhcp/ |
H A D | packet.c | 117 fd = socket(PF_PACKET, SOCK_DGRAM, htons(ETH_P_IP)); 128 dest_sll.sll_protocol = htons(ETH_P_IP); 159 packet.udp.source = htons(source_port); 160 packet.udp.dest = htons(dest_port); 162 packet.udp.len = htons(UDP_DHCP_SIZE - padding); 168 packet.ip.tot_len = htons(IP_UDP_DHCP_SIZE - padding); 207 sa.sin_port = htons(source_port); 216 sa.sin_port = htons(dest_port);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/net/8021q/ |
H A D | vlan_gvrp.c | 33 __be16 vlan_id = htons(vlan->vlan_id); 42 __be16 vlan_id = htons(vlan->vlan_id);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/enic/ |
H A D | vnic_vic.c | 64 tlv->type = htons(type); 65 tlv->length = htons(length);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/enic/ |
H A D | vnic_vic.c | 64 tlv->type = htons(type); 65 tlv->length = htons(length);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/8021q/ |
H A D | vlan_gvrp.c | 33 __be16 vlan_id = htons(vlan->vlan_id); 42 __be16 vlan_id = htons(vlan->vlan_id);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/ethernet/ |
H A D | eth.c | 19 * Alan Cox : eth_header ntohs should be htons 20 * Alan Cox : eth_rebuild_header missing an htons and 86 eth->h_proto = htons(type); 88 eth->h_proto = htons(len); 133 case htons(ETH_P_IP): 194 return htons(ETH_P_DSA); 196 return htons(ETH_P_TRAILER); 208 return htons(ETH_P_802_3); 213 return htons(ETH_P_802_2); 245 if (type == htons(ETH_P_802_ [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/ipv4/netfilter/ |
H A D | ipt_TOS.c | 35 csum_replace2(&iph->check, htons(oldtos), htons(iph->tos));
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/net/ |
H A D | dsfield.h | 38 iph->check = (__force __sum16)htons(check); 50 *(__be16 *) ipv6h = htons(tmp);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/busybox/networking/udhcp/ |
H A D | packet.c | 117 fd = socket(PF_PACKET, SOCK_DGRAM, htons(ETH_P_IP)); 128 dest_sll.sll_protocol = htons(ETH_P_IP); 159 packet.udp.source = htons(source_port); 160 packet.udp.dest = htons(dest_port); 162 packet.udp.len = htons(UDP_DHCP_SIZE - padding); 168 packet.ip.tot_len = htons(IP_UDP_DHCP_SIZE - padding); 207 sa.sin_port = htons(source_port); 216 sa.sin_port = htons(dest_port);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/pppd/pppd/plugins/pppoatm/ |
H A D | misc.c | 14 #include <netinet/in.h> /* for htons */ 49 vs_id[5] = (htons(port) >> 8) & 255; 50 vs_id[6] = htons(port) & 255;
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/busybox/networking/udhcp/ |
H A D | packet.c | 117 fd = socket(PF_PACKET, SOCK_DGRAM, htons(ETH_P_IP)); 128 dest_sll.sll_protocol = htons(ETH_P_IP); 159 packet.udp.source = htons(source_port); 160 packet.udp.dest = htons(dest_port); 162 packet.udp.len = htons(UDP_DHCP_SIZE - padding); 168 packet.ip.tot_len = htons(IP_UDP_DHCP_SIZE - padding); 207 sa.sin_port = htons(source_port); 216 sa.sin_port = htons(dest_port);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/gdb/sim/ppc/ |
H A D | sim-endian.c | 33 #if !defined(_SWAP_2) && (WITH_HOST_BYTE_ORDER == LITTLE_ENDIAN) && defined(htons) 34 #define _SWAP_2(SET,RAW) SET htons (RAW)
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/gdb/sim/ppc/ |
H A D | sim-endian.c | 33 #if !defined(_SWAP_2) && (WITH_HOST_BYTE_ORDER == LITTLE_ENDIAN) && defined(htons) 34 #define _SWAP_2(SET,RAW) SET htons (RAW)
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/netatalk-3.0.5/libatalk/dsi/ |
H A D | dsi_attn.c | 42 id = htons(dsi_serverID(dsi)); 43 flags = htons(flags);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/netatalk-3.0.5/libatalk/dsi/ |
H A D | dsi_attn.c | 42 id = htons(dsi_serverID(dsi)); 43 flags = htons(flags);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/pppd/pppd/plugins/pppoatm/ |
H A D | misc.c | 14 #include <netinet/in.h> /* for htons */ 49 vs_id[5] = (htons(port) >> 8) & 255; 50 vs_id[6] = htons(port) & 255;
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/netatalk-3.0.5/libatalk/dsi/ |
H A D | dsi_attn.c | 42 id = htons(dsi_serverID(dsi)); 43 flags = htons(flags);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/gdb/sim/ppc/ |
H A D | sim-endian.c | 33 #if !defined(_SWAP_2) && (WITH_HOST_BYTE_ORDER == LITTLE_ENDIAN) && defined(htons) 34 #define _SWAP_2(SET,RAW) SET htons (RAW)
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/rc/ |
H A D | detectWAN_arp.c | 102 ah->ar_hrd = htons(ARPHRD_ETHER); 103 ah->ar_pro = htons(ETH_P_IP); 106 ah->ar_op = htons(ARPOP_REQUEST); 144 if (ah->ar_op != htons(ARPOP_REQUEST) && ah->ar_op != htons(ARPOP_REPLY)) { 152 if (ah->ar_hrd != htons(FROM->sll_hatype) 153 && (FROM->sll_hatype != ARPHRD_FDDI || ah->ar_hrd != htons(ARPHRD_ETHER))) { 161 if (ah->ar_pro != htons(ETH_P_IP) 184 ah->ar_op == htons(ARPOP_REPLY) ? "ply" : "quest", 307 me.sll_protocol = htons(ETH_P_AR [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/rc/ |
H A D | detectWAN_arp.c | 102 ah->ar_hrd = htons(ARPHRD_ETHER); 103 ah->ar_pro = htons(ETH_P_IP); 106 ah->ar_op = htons(ARPOP_REQUEST); 144 if (ah->ar_op != htons(ARPOP_REQUEST) && ah->ar_op != htons(ARPOP_REPLY)) { 152 if (ah->ar_hrd != htons(FROM->sll_hatype) 153 && (FROM->sll_hatype != ARPHRD_FDDI || ah->ar_hrd != htons(ARPHRD_ETHER))) { 161 if (ah->ar_pro != htons(ETH_P_IP) 184 ah->ar_op == htons(ARPOP_REPLY) ? "ply" : "quest", 307 me.sll_protocol = htons(ETH_P_AR [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/rc/ |
H A D | detectWAN_arp.c | 102 ah->ar_hrd = htons(ARPHRD_ETHER); 103 ah->ar_pro = htons(ETH_P_IP); 106 ah->ar_op = htons(ARPOP_REQUEST); 144 if (ah->ar_op != htons(ARPOP_REQUEST) && ah->ar_op != htons(ARPOP_REPLY)) { 152 if (ah->ar_hrd != htons(FROM->sll_hatype) 153 && (FROM->sll_hatype != ARPHRD_FDDI || ah->ar_hrd != htons(ARPHRD_ETHER))) { 161 if (ah->ar_pro != htons(ETH_P_IP) 184 ah->ar_op == htons(ARPOP_REPLY) ? "ply" : "quest", 307 me.sll_protocol = htons(ETH_P_AR [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/net/bridge/ |
H A D | br_netfilter.c | 71 (skb->protocol == htons(ETH_P_8021Q) && \ 72 vlan_proto(skb) == htons(ETH_P_IP) && \ 76 (skb->protocol == htons(ETH_P_8021Q) && \ 77 vlan_proto(skb) == htons(ETH_P_IPV6) &&\ 81 (skb->protocol == htons(ETH_P_8021Q) && \ 82 vlan_proto(skb) == htons(ETH_P_ARP) && \ 92 (skb->protocol == htons(ETH_P_PPP_SES) && \ 93 pppoe_proto(skb) == htons(PPP_IP) && \ 97 (skb->protocol == htons(ETH_P_PPP_SES) && \ 98 pppoe_proto(skb) == htons(PPP_IPV [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/bridge/ |
H A D | br_netfilter.c | 71 (skb->protocol == htons(ETH_P_8021Q) && \ 72 vlan_proto(skb) == htons(ETH_P_IP) && \ 76 (skb->protocol == htons(ETH_P_8021Q) && \ 77 vlan_proto(skb) == htons(ETH_P_IPV6) &&\ 81 (skb->protocol == htons(ETH_P_8021Q) && \ 82 vlan_proto(skb) == htons(ETH_P_ARP) && \ 92 (skb->protocol == htons(ETH_P_PPP_SES) && \ 93 pppoe_proto(skb) == htons(PPP_IP) && \ 97 (skb->protocol == htons(ETH_P_PPP_SES) && \ 98 pppoe_proto(skb) == htons(PPP_IPV [all...] |