Home
last modified time | relevance | path

Searched refs:u_short (Results 1 – 25 of 267) sorted by relevance

1234567891011

/f-stack/freebsd/netinet/libalias/
H A Dalias_util.c74 u_short
99 u_short
107 u_short
110 u_short *ptr; in TcpChecksum()
119 ptr = (u_short *) tc; in TcpChecksum()
141 sum += htons((u_short) ntcp); in TcpChecksum()
149 return ((u_short) ~ sum); in TcpChecksum()
158 u_short *new = newp; in DifferentialChecksum()
159 u_short *old = oldp; in DifferentialChecksum()
171 *cksum = (u_short) ~ accumulate; in DifferentialChecksum()
[all …]
H A Dalias_local.h227 cksum = (u_short) ~acc; \
231 cksum = (u_short) acc; \
263 struct in_addr alias_addr, u_short src_port, u_short dst_port,
267 u_short _id_alias, int _create);
270 u_short _id, int _create);
273 u_short _ip_id);
276 u_short _ip_id);
289 u_short _dst_port, u_short _alias_port, u_char _proto, int _create);
292 u_short _src_port, u_short _dst_port, u_char _proto, int _create);
310 u_short _src_port, u_short _alias_port, u_char _proto);
[all …]
H A Dalias_nbt.c80 struct in_addr *, u_short *, struct in_addr *, u_short *);
201 u_short id;
204 u_short len;
205 u_short offset;
390 u_short *sptr; in AliasHandleUdpNbt()
467 u_short type;
468 u_short class;
470 u_short rdlen;
486 u_short bcount; in AliasHandleResourceNB()
559 u_short bcount; in AliasHandleResourceA()
[all …]
H A Dalias_db.c282 u_short port;
386 u_short, u_short, int);
421 u_short src_port, u_short dst_port, int link_type) in StartPointOut()
532 static u_short GetSocket(struct libalias *, u_short, int *, int);
543 u_short, u_short, int, int);
664 static u_short
1342 u_short id, in FindIcmpOut()
1860 u_short
1866 u_short
1873 static u_short
[all …]
/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_resolver.h65 u_short priority;
66 u_short weight;
73 u_short weight;
74 u_short port;
81 u_short weight;
82 u_short port;
104 u_short nlen;
105 u_short qlen;
120 u_short naddrs;
121 u_short nsrvs;
[all …]
/f-stack/freebsd/net/
H A Dif.h279 u_short ifm_index; /* index for associated ifp */
280 u_short _ifm_spare1;
302 u_short ifm_index; /* index for associated ifp */
304 u_short ifm_len; /* length of if_msghdrl incl. if_data */
321 u_short ifam_index; /* index for associated ifp */
322 u_short _ifam_spare1;
344 u_short ifam_index; /* index for associated ifp */
363 u_short ifmam_index; /* index for associated ifp */
364 u_short _ifmam_spare1;
374 u_short ifan_index; /* index for associated ifp */
[all …]
/f-stack/tools/compat/include/net/
H A Dif.h265 u_short ifm_index; /* index for associated ifp */
266 u_short _ifm_spare1;
288 u_short ifm_index; /* index for associated ifp */
290 u_short ifm_len; /* length of if_msghdrl incl. if_data */
307 u_short ifam_index; /* index for associated ifp */
308 u_short _ifam_spare1;
330 u_short ifam_index; /* index for associated ifp */
349 u_short ifmam_index; /* index for associated ifp */
350 u_short _ifmam_spare1;
360 u_short ifan_index; /* index for associated ifp */
[all …]
/f-stack/freebsd/i386/include/
H A Din_cksum.h96 static __inline u_short
97 in_addword(u_short sum, u_short b) in in_addword()
109 static __inline u_short
144 u_short in_addword(u_short sum, u_short b);
145 u_short in_pseudo(u_int sum, u_int b, u_int c);
147 u_short in_cksum_skip(struct mbuf *m, int len, int skip);
H A Dcpufunc.h298 u_short data; in inw()
541 u_short sel; in rfs()
557 u_short sel; in rgs()
573 u_short ldtr; in rldt()
581 u_short sel; in rss()
589 u_short tr; in rtr()
595 load_fs(u_short sel) in load_fs()
613 lldt(u_short sel) in lldt()
619 ltr(u_short sel) in ltr()
817 u_short rldt(void);
[all …]
/f-stack/freebsd/arm/include/
H A Din_cksum.h43 u_short in_cksum(struct mbuf *m, int len);
44 u_short in_addword(u_short sum, u_short b);
45 u_short in_cksum_skip(struct mbuf *m, int len, int skip);
51 static __inline u_short
/f-stack/tools/compat/include/netinet/
H A Digmp.h59 u_short igmp_cksum; /* IP-style checksum */
69 u_short igmp_cksum; /* IP-style checksum */
74 u_short igmp_numsrc; /* number of sources */
87 u_short ig_numsrc; /* number of sources */
99 u_short ir_cksum; /* checksum */
100 u_short ir_rsv2; /* must be zero */
101 u_short ir_numgrps; /* number of group records */
H A Dudp.h44 u_short uh_sport; /* source port */
45 u_short uh_dport; /* destination port */
46 u_short uh_ulen; /* udp length */
47 u_short uh_sum; /* udp checksum */
/f-stack/freebsd/netinet/
H A Digmp.h59 u_short igmp_cksum; /* IP-style checksum */
69 u_short igmp_cksum; /* IP-style checksum */
74 u_short igmp_numsrc; /* number of sources */
87 u_short ig_numsrc; /* number of sources */
99 u_short ir_cksum; /* checksum */
100 u_short ir_rsv2; /* must be zero */
101 u_short ir_numgrps; /* number of group records */
H A Din_rss.h40 uint32_t rss_hash_ip4_4tuple(struct in_addr src, u_short srcport,
41 struct in_addr dst, u_short dstport);
51 struct in_addr dst, u_short src_port, u_short dst_port,
57 u_short sp, u_short dp, int proto, uint32_t *hashtype);
H A Dudplite.h37 u_short udplite_sport; /* UDO-Lite source port */
38 u_short udplite_dport; /* UDP-Lite destination port */
39 u_short udplite_coverage; /* UDP-Lite checksum coverage */
40 u_short udplite_checksum; /* UDP-Lite checksum */
H A Dudp.h44 u_short uh_sport; /* source port */
45 u_short uh_dport; /* destination port */
46 u_short uh_ulen; /* udp length */
47 u_short uh_sum; /* udp checksum */
H A Din_cksum.c53 u_short *w; in in_cksum()
60 u_short s; in in_cksum()
63 u_short s[2]; in in_cksum()
70 w = mtod(m, u_short *); in in_cksum()
82 w = (u_short *)((char *)w + 1); in in_cksum()
97 w = (u_short *)((char *)w + 1); in in_cksum()
/f-stack/freebsd/netinet6/
H A Din6_rss.h40 uint32_t rss_hash_ip6_4tuple(const struct in6_addr *src, u_short srcport,
41 const struct in6_addr *dst, u_short dstport);
52 const struct in6_addr *dst, u_short src_port,
53 u_short dst_port, int proto, uint32_t *hashval,
58 const struct in6_addr *d, u_short sp, u_short dp,
/f-stack/freebsd/arm64/include/
H A Din_cksum.h42 u_short in_addword(u_short sum, u_short b);
43 u_short in_cksum_skip(struct mbuf *m, int len, int skip);
49 u_short in_pseudo(u_int sum, u_int b, u_int c);
/f-stack/freebsd/mips/include/
H A Din_cksum.h78 u_short in_addword(u_short sum, u_short b);
79 u_short in_pseudo(u_int sum, u_int b, u_int c);
80 u_short in_cksum_skip(struct mbuf *m, int len, int skip);
/f-stack/freebsd/amd64/include/
H A Din_cksum.h81 u_short in_addword(u_short sum, u_short b);
82 u_short in_pseudo(u_int sum, u_int b, u_int c);
83 u_short in_cksum_skip(struct mbuf *m, int len, int skip);
H A Dcpufunc.h229 u_short data; in inw()
553 u_short sel; in rfs()
561 u_short sel; in rgs()
569 u_short sel; in rss()
575 load_ds(u_short sel) in load_ds()
581 load_es(u_short sel) in load_es()
623 load_fs(u_short sel) in load_fs()
722 lldt(u_short sel) in lldt()
730 u_short sel; in sldt()
737 ltr(u_short sel) in ltr()
[all …]
/f-stack/freebsd/i386/i386/
H A Din_cksum.c179 u_short
180 in_addword(u_short a, u_short b) in in_addword()
188 u_short
200 u_short
262 u_short
268 u_short *w;
272 union { char c[2]; u_short s; } su;
278 w = (u_short *)(mtod(m, u_char *) + skip);
288 w = mtod(m, u_short *);
301 w = (u_short *)((char *)w + 1);
[all …]
/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dip_proxy.h35 u_short apt_sport; /* source port */
36 u_short apt_dport; /* destination port */
46 u_short apu_sport; /* source port */
47 u_short apu_dport; /* destination port */
211 u_short irc_port;
220 u_short dnsi_id;
237 u_short rap_plport;
238 u_short rap_prport;
239 u_short rap_srport;
265 u_short mri_rport;
[all …]
/f-stack/freebsd/security/audit/
H A Dbsm_socket_type.c44 u_short bst_bsm_socket_type;
72 u_short
84 bsm_lookup_bsm_socket_type(u_short bsm_socket_type) in bsm_lookup_bsm_socket_type()
97 au_bsm_to_socket_type(u_short bsm_socket_type, int *local_socket_typep) in au_bsm_to_socket_type()

1234567891011