Searched refs:htons (Results 76 - 100 of 2262) sorted by relevance

1234567891011>>

/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 Dipt_TOS.c35 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 Dmisc.c14 #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 Dpacket.c117 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 Dvlan_gvrp.c33 __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 Dvnic_vic.c64 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 Dvnic_vic.c64 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 Dvlan_gvrp.c33 __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 Deth.c19 * 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 Dipt_TOS.c35 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 Ddsfield.h38 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 Dpacket.c117 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 Dmisc.c14 #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 Dpacket.c117 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 Dsim-endian.c33 #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 Dsim-endian.c33 #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 Ddsi_attn.c42 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 Ddsi_attn.c42 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 Dmisc.c14 #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 Ddsi_attn.c42 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 Dsim-endian.c33 #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 DdetectWAN_arp.c102 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 DdetectWAN_arp.c102 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 DdetectWAN_arp.c102 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 Dbr_netfilter.c71 (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 Dbr_netfilter.c71 (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...]

Completed in 131 milliseconds

1234567891011>>