Home
last modified time | relevance | path

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

12345678910>>...25

/freebsd/contrib/ntp/ntpd/
H A Djupiter.h48 u_short sync; /* (JUPITER_SYNC) */
49 u_short id; /* message id */
50 u_short len; /* number of data short wordss (w/o cksum) */
53 u_short hsum; /* header cksum */
70 u_short trigger; /* if 0, trigger on time trigger on
72 u_short interval; /* frequency in seconds */
73 u_short offset; /* offset into minute */
74 u_short dsum; /* checksum */
79 u_short stime[2]; /* set time (10 ms ticks) */
80 u_short seq; /* sequence number */
[all …]
H A Dkeyword-gen.c33 u_short token; /* Associated Token */
268 u_short finishes_token; /* nonzero ID if last keyword char */
269 u_short match_next_s; /* next state to check matching ch */
270 u_short other_next_s; /* next state to check if not ch */
286 u_short sst_highwater; /* next entry index to consider */
296 static u_short create_keyword_scanner (void);
297 static u_short create_scan_states (char *, u_short, follby, u_short);
301 const char * symbname (u_short);
[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*/
16 u_short ms100; /* milliseconds * 100 */
[all …]
/freebsd/sys/dev/ic/
H A Di82586.h54 u_short mbz; /* must be zero */
74 u_short ie_scb_offset; /* 16-bit physaddr of next struct */
82 u_short ie_status; /* status word */
83 u_short ie_command; /* command word */
84 u_short ie_command_list; /* 16-pointer to command block list */
85 u_short ie_recv_list; /* 16-pointer to receive frame list */
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 */
[all …]
/freebsd/sys/netinet/libalias/
H A Dalias_local.h81 u_short alias_port;
142 u_short true_port; /* in host byte order. */
145 u_short aliasPortLower;
146 u_short aliasPortLength;
201 cksum = (u_short) ~acc; \
205 cksum = (u_short) acc; \
231 u_short IpChecksum(struct ip *_pip);
232 u_short TcpChecksum(struct ip *_pip);
235 DifferentialChecksum(u_short * _cksum, void * _new, void * _old, int _n);
240 struct in_addr alias_addr, u_short src_port, u_short dst_port,
[all …]
H A Dalias_util.c72 u_short
73 LibAliasInternetChecksum(struct libalias *la __unused, u_short *ptr, in LibAliasInternetChecksum()
97 u_short
100 return (LibAliasInternetChecksum(NULL, (u_short *)pip, in IpChecksum()
105 u_short
108 u_short *ptr; in TcpChecksum()
117 ptr = (u_short *)tc; in TcpChecksum()
139 sum += htons((u_short)ntcp); in TcpChecksum()
140 sum += htons((u_short)pip->ip_p); in TcpChecksum()
147 return ((u_short)~sum); in TcpChecksum()
[all …]
H A Dalias_nbt.c74 struct in_addr *, u_short);
77 struct in_addr *, u_short *, struct in_addr *, u_short *);
185 u_short oldport;
187 u_short newport;
188 u_short *uh_sum;
194 u_short id;
196 u_short source_port;
197 u_short len;
198 u_short offset;
208 u_short nametrid;
[all …]
H A Dalias_db.h251 u_short port;
263 u_short src_port;
264 u_short dst_port;
265 u_short alias_port;
266 u_short proxy_port;
333 StartPointIn(struct libalias *, struct in_addr, u_short, int, int);
417 static u_short GetSocket(struct libalias *, u_short, int *, int);
428 u_short, u_short, int, int, int);
431 FindLinkOut(struct libalias *, struct in_addr, struct in_addr, u_short, u_short, int, int);
434 FindLinkIn(struct libalias *, struct in_addr, struct in_addr, u_short, u_short, int, int);
[all …]
/freebsd/contrib/ntp/include/
H A Dntp_request.h139 u_short err_nitems; /* error code/number of data items */
140 u_short mbz_itemsize; /* item size */
183 u_short err_nitems; /* error code/number of data items */
184 u_short mbz_itemsize; /* item size */
227 #define INFO_ERR(err_nitems) ((u_short)((ntohs(err_nitems)>>12)&0xf))
228 #define INFO_NITEMS(err_nitems) ((u_short)(ntohs(err_nitems)&0xfff))
229 #define ERR_NITEMS(err, nitems) (htons((u_short)((((u_short)(err)<<12)&0xf000)\
230 |((u_short)(nitems)&0xfff))))
233 #define INFO_ITEMSIZE(mbz_itemsize) ((u_short)(ntohs(mbz_itemsize)&0xfff))
234 #define MBZ_ITEMSIZE(itemsize) (htons((u_short)(itemsize)))
[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 */
/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;
941 u_short ufh_id; /* file id and endian indicator */
942 u_short ufh_reserved1; /* reserved for future use */
945 u_short ufh_reserved2; /* reserved for future use */
946 u_short ufh_max_chunks; /* max chunks in file */
947 u_short ufh_num_chunks; /* num of actual chunks */
[all …]
/freebsd/sys/net/
H A Dif.h329 u_short ifm_msglen; /* to skip over non-understood messages */
334 u_short ifm_index; /* index for associated ifp */
335 u_short _ifm_spare1;
352 u_short ifm_msglen; /* to skip over non-understood messages */
357 u_short ifm_index; /* index for associated ifp */
358 u_short _ifm_spare1; /* spare space to grow if_index, see if_var.h */
359 u_short ifm_len; /* length of if_msghdrl incl. if_data */
360 u_short ifm_data_off; /* offset of if_data from beginning */
371 u_short ifam_msglen; /* to skip over non-understood messages */
376 u_short ifam_index; /* index for associated ifp */
[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/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);
/freebsd/sys/dev/sym/
H A Dsym_defs.h92 u_short device_id;
144 u_short type; /* 0x0000 */
145 u_short byte_count; /* excluding header/trailer */
146 u_short checksum;
152 u_short flags;
158 u_short flags1;
160 u_short term_state;
164 u_short rmvbl_flags;
178 u_short type; /* 4:8xx / 0:nok */
179 u_short device_id; /* PCI device id */
[all …]
/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/contrib/tcpdump/
H A Dprint-radius.c203 static void print_attr_string(netdissect_options *, const u_char *, u_int, u_short );
204 static void print_attr_num(netdissect_options *, const u_char *, u_int, u_short );
205 static void print_vendor_attr(netdissect_options *, const u_char *, u_int, u_short );
206 static void print_attr_address(netdissect_options *, const u_char *, u_int, u_short);
207 static void print_attr_address6(netdissect_options *, const u_char *, u_int, u_short);
208 static void print_attr_netmask6(netdissect_options *, const u_char *, u_int, u_short);
209 static void print_attr_mip6_home_link_prefix(netdissect_options *, const u_char *, u_int, u_short);
210 static void print_attr_operator_name(netdissect_options *, const u_char *, u_int, u_short);
211 static void print_attr_location_information(netdissect_options *, const u_char *, u_int, u_short);
212 static void print_attr_location_data(netdissect_options *, const u_char *, u_int, u_short);
[all …]
/freebsd/sys/i386/include/
H A Dcpufunc.h215 static __inline u_short
218 u_short data; in inw()
261 outw(u_int port, u_short data) in outw()
481 static __inline u_short
484 u_short sel; in rfs()
497 static __inline u_short
500 u_short sel; in rgs()
513 static __inline u_short
516 u_short ldtr; in rldt()
521 static __inline u_short
[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);
H A Dcpufunc.h179 static __inline u_short
182 u_short data; in inw()
225 outw(u_int port, u_short data) in outw()
549 static __inline u_short
552 u_short sel; in rfs()
557 static __inline u_short
560 u_short sel; in rgs()
565 static __inline u_short
568 u_short sel; in rss()
573 static __inline u_short
[all …]
/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/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/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);

12345678910>>...25