Home
last modified time | relevance | path

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

12345678910>>...25

/freebsd/contrib/ntp/ntpd/
H A Djupiter.h102 u_short mvar;
103 u_short climb;
104 u_short mapd;
105 u_short herr[2];
108 u_short hverr;
134 u_short dsum;
210 u_short flags;
220 u_short flags;
234 u_short climb;
235 u_short dsum;
[all …]
H A Dkeyword-gen.c297 static u_short create_scan_states (char *, u_short, follby, u_short);
359 u_short state; in generate_fsm()
360 u_short i; in generate_fsm()
361 u_short token; in generate_fsm()
519 static u_short
522 u_short token, in create_scan_states()
626 static u_short
630 u_short i; in create_keyword_scanner()
655 u_short id; in generate_token_text()
656 u_short i; in generate_token_text()
[all …]
/freebsd/contrib/ntp/kernel/sys/
H A Dtpro.h7 u_short day100; /* days * 100 */
8 u_short day10; /* days * 10 */
9 u_short day1; /* days * 1 */
10 u_short hour10; /* hours * 10 */
11 u_short hour1; /* hours * 1 */
12 u_short min10; /* minutes * 10 */
13 u_short min1; /* minutes * 1 */
14 u_short sec10; /* seconds * 10 */
15 u_short sec1; /* seconds * 1*/
17 u_short ms10; /* milliseconds * 10 */
[all …]
/freebsd/sys/dev/ic/
H A Di82586.h54 u_short mbz; /* must be zero */
82 u_short ie_status; /* status word */
83 u_short ie_command; /* command word */
86 u_short ie_err_crc; /* CRC errors */
87 u_short ie_err_align; /* Alignment errors */
88 u_short ie_err_resource; /* Resource errors */
89 u_short ie_err_overrun; /* Overrun errors */
143 u_short mbz; /* must be zero */
162 u_short mbz; /* must be zero */
172 u_short ie_cmd_cmd; /* command word */
[all …]
/freebsd/sys/netinet/libalias/
H A Dalias_local.h81 u_short alias_port;
143 u_short aliasPortLower;
144 u_short aliasPortLength;
203 cksum = (u_short) acc; \
238 struct in_addr alias_addr, u_short src_port, u_short dst_port,
248 u_short _ip_id);
251 u_short _ip_id);
264 u_short _dst_port, u_short _alias_port, u_char _proto, int _create);
267 u_short _src_port, u_short _dst_port, u_char _proto, int _create);
285 u_short _src_port, u_short _alias_port, u_char _proto);
[all …]
H A Dalias_util.c72 u_short
97 u_short
105 u_short
108 u_short *ptr; in TcpChecksum()
117 ptr = (u_short *)tc; in TcpChecksum()
139 sum += htons((u_short)ntcp); in TcpChecksum()
147 return ((u_short)~sum); in TcpChecksum()
156 u_short *new = newp; in DifferentialChecksum()
157 u_short *old = oldp; in DifferentialChecksum()
169 *cksum = (u_short)~accumulate; in DifferentialChecksum()
[all …]
H A Dalias_nbt.c77 struct in_addr *, u_short *, struct in_addr *, u_short *);
194 u_short id;
197 u_short len;
198 u_short offset;
382 u_short *sptr; in AliasHandleUdpNbt()
458 u_short type;
459 u_short class;
461 u_short rdlen;
477 u_short bcount; in AliasHandleResourceNB()
550 u_short bcount; in AliasHandleResourceA()
[all …]
H A Dalias_db.h249 u_short port;
261 u_short src_port;
262 u_short dst_port;
263 u_short alias_port;
264 u_short proxy_port;
330 StartPointIn(struct libalias *, struct in_addr, u_short, int, int);
401 static u_short GetSocket(struct libalias *, u_short, int *, int);
412 u_short, u_short, int, int, int);
415 FindLinkOut(struct libalias *, struct in_addr, struct in_addr, u_short, u_short, int, int);
418 FindLinkIn(struct libalias *, struct in_addr, struct in_addr, u_short, u_short, int, int);
[all …]
/freebsd/contrib/ntp/include/
H A Dntp_request.h229 #define ERR_NITEMS(err, nitems) (htons((u_short)((((u_short)(err)<<12)&0xf000)\
230 |((u_short)(nitems)&0xfff))))
433 u_short flags; /* peer flags */
543 u_short totalpeermem;
544 u_short freepeermem;
593 u_short unused; /* unused */
605 u_short unused1; /* unused */
802 u_short unused; /* (unused) */
879 u_short svalues;
893 u_short status;
[all …]
/freebsd/usr.sbin/ppp/
H A Dlcp.h56 u_short his_auth; /* Peer wants this type of authentication */
64 u_short want_mru; /* Our maximum packet size */
65 u_short want_mrru; /* Our maximum reassembled packet size (MP) */
69 u_short want_auth; /* We want this type of authentication */
79 u_short auth_iwait; /* I must authenticate to the peer */
80 u_short auth_ineed; /* I require that the peer authenticates */
85 u_short mru; /* Preferred MRU value */
86 u_short max_mru; /* Preferred MRU value */
87 u_short mtu; /* Preferred MTU */
88 u_short max_mtu; /* Preferred MTU */
H A Dhdlc.c109 u_short
112 u_short fcs = INITFCS; in hdlc_Fcs()
120 static inline u_short
121 HdlcFcsBuf(u_short fcs, struct mbuf *m) in HdlcFcsBuf()
142 struct mbuf *bp, int pri __unused, u_short *proto __unused) in hdlc_LayerPush()
146 u_short fcs; in hdlc_LayerPush()
174 u_short from;
175 u_short to;
288 hdlc_Protocol2Nam(u_short proto) in hdlc_Protocol2Nam()
302 u_short *proto __unused) in hdlc_LayerPull()
[all …]
/freebsd/sbin/ping/tests/
H A Din_cksum_test.c42 u_char data[] __aligned(sizeof(u_short)) = in ATF_TC_BODY()
44 u_short sum; in ATF_TC_BODY()
54 u_char data[] __aligned(sizeof(u_short)) = in ATF_TC_BODY()
56 u_short sum; in ATF_TC_BODY()
66 u_char data[] __aligned(sizeof(u_short)) = in ATF_TC_BODY()
68 u_short sum; in ATF_TC_BODY()
78 u_char data[] __aligned(sizeof(u_short)) = in ATF_TC_BODY()
80 u_short sum; in ATF_TC_BODY()
/freebsd/sys/net/
H A Dif.h329 u_short ifm_index; /* index for associated ifp */
330 u_short _ifm_spare1;
352 u_short ifm_index; /* index for associated ifp */
354 u_short ifm_len; /* length of if_msghdrl incl. if_data */
371 u_short ifam_index; /* index for associated ifp */
372 u_short _ifam_spare1;
394 u_short ifam_index; /* index for associated ifp */
413 u_short ifmam_index; /* index for associated ifp */
414 u_short _ifmam_spare1;
424 u_short ifan_index; /* index for associated ifp */
[all …]
/freebsd/sys/dev/qat_c2xxx/
H A Dqatreg.h906 u_short mfh_reserved;
907 u_short mfh_max_chunks;
908 u_short mfh_num_chunks;
918 u_short muh_max_chunks;
919 u_short muh_num_chunks;
1005 u_short ui_ae_mode; /*
1259 u_short sam_maj_ver;
1260 u_short sam_min_ver;
1262 u_short sam_devmax_ver;
1263 u_short sam_devmin_ver;
[all …]
/freebsd/sys/netinet/
H A Digmp.h56 u_short igmp_cksum; /* IP-style checksum */
66 u_short igmp_cksum; /* IP-style checksum */
71 u_short igmp_numsrc; /* number of sources */
84 u_short ig_numsrc; /* number of sources */
96 u_short ir_cksum; /* checksum */
97 u_short ir_rsv2; /* must be zero */
98 u_short ir_numgrps; /* number of group records */
H A Din_rss.h38 uint32_t rss_hash_ip4_4tuple(struct in_addr src, u_short srcport,
39 struct in_addr dst, u_short dstport);
49 struct in_addr dst, u_short src_port, u_short dst_port,
55 u_short sp, u_short dp, int proto, uint32_t *hashtype);
H A Din_pcb_var.h51 int in_pcb_lport(struct inpcb *, struct in_addr *, u_short *,
54 u_short *lportp, struct sockaddr *fsa, u_short fport,
56 struct inpcb * in_pcblookup_local(struct inpcbinfo *, struct in_addr, u_short,
62 u_short phd_port;
/freebsd/sys/arm/include/
H A Din_cksum.h42 u_short in_cksum(struct mbuf *m, int len);
43 u_short in_addword(u_short sum, u_short b);
44 u_short in_cksum_skip(struct mbuf *m, int len, int skip);
50 static __inline u_short
/freebsd/sys/netinet6/
H A Din6_rss.h38 uint32_t rss_hash_ip6_4tuple(const struct in6_addr *src, u_short srcport,
39 const struct in6_addr *dst, u_short dstport);
50 const struct in6_addr *dst, u_short src_port,
51 u_short dst_port, int proto, uint32_t *hashval,
56 const struct in6_addr *d, u_short sp, u_short dp,
/freebsd/sys/dev/sym/
H A Dsym_defs.h92 u_short device_id;
146 u_short checksum;
152 u_short flags;
158 u_short flags1;
183 u_short word8;
184 u_short flags;
204 u_short id;
205 u_short method;
210 u_short status;
244 u_short word2;
[all …]
/freebsd/sys/amd64/include/
H A Din_cksum.h44 u_short in_addword(u_short sum, u_short b);
45 u_short in_pseudo(u_int sum, u_int b, u_int c);
46 u_short in_cksum_skip(struct mbuf *m, int len, int skip);
/freebsd/sys/powerpc/include/
H A Din_cksum.h44 u_short in_addword(u_short sum, u_short b);
45 u_short in_pseudo(u_int sum, u_int b, u_int c);
46 u_short in_cksum_skip(struct mbuf *m, int len, int skip);
/freebsd/sys/riscv/include/
H A Din_cksum.h38 u_short in_addword(u_short sum, u_short b);
39 u_short in_cksum_skip(struct mbuf *m, int len, int skip);
45 u_short in_pseudo(u_int sum, u_int b, u_int c);
/freebsd/sys/arm64/include/
H A Din_cksum.h38 u_short in_addword(u_short sum, u_short b);
39 u_short in_cksum_skip(struct mbuf *m, int len, int skip);
45 u_short in_pseudo(u_int sum, u_int b, u_int c);
/freebsd/contrib/tcpdump/
H A Dprint-radius.c770 const u_char *data, u_int length, u_short attr_code) in print_attr_string()
839 const u_char *data, u_int length, u_short attr_code _U_) in print_vendor_attr()
901 const u_char *data, u_int length, u_short attr_code) in print_attr_num()
1018 const u_char *data, u_int length, u_short attr_code) in print_attr_address()
1054 const u_char *data, u_int length, u_short attr_code _U_) in print_attr_address6()
1067 const u_char *data, u_int length, u_short attr_code _U_) in print_attr_netmask6()
1100 const u_char *data, u_int length, u_short attr_code _U_) in print_attr_mip6_home_link_prefix()
1124 const u_char *data, u_int length, u_short attr_code _U_) in print_attr_operator_name()
1271 const u_char *data, u_int length, u_short attr_code _U_) in print_attr_time()
1328 const u_char *data, u_int length, u_short attr_code) in print_attr_strange()
[all …]

12345678910>>...25