Searched refs:htons (Results 26 - 50 of 2262) sorted by relevance

1234567891011>>

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/busybox/networking/udhcp/
H A Darpping.c55 s = socket(PF_PACKET, SOCK_PACKET, htons(ETH_P_ARP));
70 arp.h_proto = htons(ETH_P_ARP); /* protocol type (Ethernet) */
71 arp.htype = htons(ARPHRD_ETHER); /* hardware type */
72 arp.ptype = htons(ETH_P_IP); /* protocol type (ARP message) */
75 arp.operation = htons(ARPOP_REQUEST); /* ARP op code */
110 && arp.operation == htons(ARPOP_REPLY)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/busybox/networking/udhcp/
H A Darpping.c55 s = socket(PF_PACKET, SOCK_PACKET, htons(ETH_P_ARP));
70 arp.h_proto = htons(ETH_P_ARP); /* protocol type (Ethernet) */
71 arp.htype = htons(ARPHRD_ETHER); /* hardware type */
72 arp.ptype = htons(ETH_P_IP); /* protocol type (ARP message) */
75 arp.operation = htons(ARPOP_REQUEST); /* ARP op code */
110 && arp.operation == htons(ARPOP_REPLY)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/busybox/networking/udhcp/
H A Darpping.c55 s = socket(PF_PACKET, SOCK_PACKET, htons(ETH_P_ARP));
70 arp.h_proto = htons(ETH_P_ARP); /* protocol type (Ethernet) */
71 arp.htype = htons(ARPHRD_ETHER); /* hardware type */
72 arp.ptype = htons(ETH_P_IP); /* protocol type (ARP message) */
75 arp.operation = htons(ARPOP_REQUEST); /* ARP op code */
110 && arp.operation == htons(ARPOP_REPLY)
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/quagga/pimd/
H A Dpim_igmp_join.c54 group_sa->sin_port = htons(0);
59 source_sa->sin_port = htons(0);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/curl-7.21.7/lib/
H A Dwarnless.h60 # undef htons macro
61 # define htons(a) curlx_htons((a)) macro
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/curl-7.21.7/lib/
H A Dwarnless.h60 # undef htons macro
61 # define htons(a) curlx_htons((a)) macro
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/quagga/pimd/
H A Dpim_igmp_join.c54 group_sa->sin_port = htons(0);
59 source_sa->sin_port = htons(0);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/curl-7.21.7/lib/
H A Dwarnless.h60 # undef htons macro
61 # define htons(a) curlx_htons((a)) macro
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/quagga/pimd/
H A Dpim_igmp_join.c54 group_sa->sin_port = htons(0);
59 source_sa->sin_port = htons(0);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/igmpproxy/src/
H A Dos-linux.h18 ip->ip_len = htons(len);
H A Dudpsock.c57 SockAdr.sin_port = htons(PeerPort);
H A Dos-openbsd.h22 ip->ip_len = htons(len);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/igmpproxy/src/
H A Dos-linux.h18 ip->ip_len = htons(len);
H A Dudpsock.c57 SockAdr.sin_port = htons(PeerPort);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/igmpproxy/src/
H A Dos-linux.h18 ip->ip_len = htons(len);
H A Dudpsock.c57 SockAdr.sin_port = htons(PeerPort);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/scsi/
H A Dfc_encode.h103 ct->hdr.ct_cmd = htons((u16) op);
202 csp->sp_bb_cred = htons(10); /* this gets set by gateway */
203 csp->sp_bb_data = htons((u16) lport->mfs);
205 cp->cp_class = htons(FC_CPC_VALID | FC_CPC_SEQ);
206 csp->sp_features = htons(FC_SP_FT_CIRO);
207 csp->sp_tot_seq = htons(255); /* seq. we accept */
208 csp->sp_rel_off = htons(0x1f);
211 cp->cp_rdfs = htons((u16) lport->mfs);
212 cp->cp_con_seq = htons(255);
233 sp->sp_bb_cred = htons(1
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/scsi/
H A Dfc_encode.h103 ct->hdr.ct_cmd = htons((u16) op);
202 csp->sp_bb_cred = htons(10); /* this gets set by gateway */
203 csp->sp_bb_data = htons((u16) lport->mfs);
205 cp->cp_class = htons(FC_CPC_VALID | FC_CPC_SEQ);
206 csp->sp_features = htons(FC_SP_FT_CIRO);
207 csp->sp_tot_seq = htons(255); /* seq. we accept */
208 csp->sp_rel_off = htons(0x1f);
211 cp->cp_rdfs = htons((u16) lport->mfs);
212 cp->cp_con_seq = htons(255);
233 sp->sp_bb_cred = htons(1
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/busybox/networking/
H A Darping.c84 ah->ar_hrd = htons(ARPHRD_ETHER);
85 ah->ar_pro = htons(ETH_P_IP);
88 ah->ar_op = option_mask32 & ADVERT ? htons(ARPOP_REPLY) : htons(ARPOP_REQUEST);
173 if (ah->ar_op != htons(ARPOP_REQUEST) && ah->ar_op != htons(ARPOP_REPLY))
177 if (ah->ar_hrd != htons(FROM->sll_hatype)
178 && (FROM->sll_hatype != ARPHRD_FDDI || ah->ar_hrd != htons(ARPHRD_ETHER)))
182 if (ah->ar_pro != htons(ETH_P_IP)
220 ah->ar_op == htons(ARPOP_REPL
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/busybox/networking/
H A Darping.c84 ah->ar_hrd = htons(ARPHRD_ETHER);
85 ah->ar_pro = htons(ETH_P_IP);
88 ah->ar_op = option_mask32 & ADVERT ? htons(ARPOP_REPLY) : htons(ARPOP_REQUEST);
173 if (ah->ar_op != htons(ARPOP_REQUEST) && ah->ar_op != htons(ARPOP_REPLY))
177 if (ah->ar_hrd != htons(FROM->sll_hatype)
178 && (FROM->sll_hatype != ARPHRD_FDDI || ah->ar_hrd != htons(ARPHRD_ETHER)))
182 if (ah->ar_pro != htons(ETH_P_IP)
220 ah->ar_op == htons(ARPOP_REPL
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/busybox/networking/
H A Darping.c84 ah->ar_hrd = htons(ARPHRD_ETHER);
85 ah->ar_pro = htons(ETH_P_IP);
88 ah->ar_op = option_mask32 & ADVERT ? htons(ARPOP_REPLY) : htons(ARPOP_REQUEST);
173 if (ah->ar_op != htons(ARPOP_REQUEST) && ah->ar_op != htons(ARPOP_REPLY))
177 if (ah->ar_hrd != htons(FROM->sll_hatype)
178 && (FROM->sll_hatype != ARPHRD_FDDI || ah->ar_hrd != htons(ARPHRD_ETHER)))
182 if (ah->ar_pro != htons(ETH_P_IP)
220 ah->ar_op == htons(ARPOP_REPL
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/net/bridge/netfilter/
H A Debt_arpreply.c33 if (ap->ar_op != htons(ARPOP_REQUEST) ||
35 ap->ar_pro != htons(ETH_P_IP) ||
67 if (e->ethproto != htons(ETH_P_ARP) ||
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/net/ipv4/
H A Dxfrm4_output.c29 if (!(ip_hdr(skb)->frag_off & htons(IP_DF)) || skb->local_df)
66 skb->protocol = htons(ETH_P_IP);
83 skb->protocol = htons(ETH_P_IP);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/bridge/netfilter/
H A Debt_arpreply.c33 if (ap->ar_op != htons(ARPOP_REQUEST) ||
35 ap->ar_pro != htons(ETH_P_IP) ||
67 if (e->ethproto != htons(ETH_P_ARP) ||
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/ipv4/
H A Dxfrm4_output.c29 if (!(ip_hdr(skb)->frag_off & htons(IP_DF)) || skb->local_df)
66 skb->protocol = htons(ETH_P_IP);
83 skb->protocol = htons(ETH_P_IP);

Completed in 314 milliseconds

1234567891011>>