OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:NTOHS
(Results
1 - 8
of
8
) sorted by relevancy
/src/sys/arch/hpc/stand/include/machine/
endian.h
88
uint16_t
ntohs
(uint16_t) __attribute__((__const__));
131
#define
ntohs
(x) (x)
macro
136
#define
NTOHS
(x) (void) (x)
145
#define
ntohs
(x) bswap16((uint16_t)(x))
151
#define
NTOHS
(x) (x) =
ntohs
((uint16_t)(x))
/src/sys/sys/
endian.h
73
uint16_t
ntohs
(uint16_t) __constfunc;
116
#define
ntohs
(x) __CAST(uint16_t, (x))
macro
121
#define
NTOHS
(x) __CAST(void, (x))
128
#define
ntohs
(x) bswap16(__CAST(uint16_t, (x)))
133
#define
NTOHS
(x) (x) =
ntohs
(__CAST(uint16_t, (x)))
/src/usr.sbin/trpt/
trpt.c
440
hbuf,
ntohs
(th->th_sport));
450
hbuf,
ntohs
(th->th_dport));
464
NTOHS
(len);
465
NTOHS
(win);
/src/sys/dist/pf/net/
pf_osfp.c
147
fp.fp_psize =
ntohs
(ip->ip_len);
170
fp.fp_psize = sizeof(struct ip6_hdr) +
ntohs
(ip6->ip6_plen);
190
fp.fp_wsize =
ntohs
(tcp->th_win);
217
NTOHS
(fp.fp_mss);
223
NTOHS
(fp.fp_wscale);
252
srcname,
ntohs
(tcp->th_sport),
pf.c
1205
p =
ntohs
(p);
1243
b =
ntohs
(addr->addr16[i]);
1250
p =
ntohs
(p);
1991
NTOHS
(a1);
1992
NTOHS
(a2);
1993
NTOHS
(p);
2731
tmp_nport = ((
ntohs
(dport) -
2732
ntohs
(r->dst.port[0])) %
2928
NTOHS
(mss);
3446
ntohs
(hip->ip_len) - off, IPPROTO_TCP, AF_INET)
[
all
...]
/src/sys/netinet/
raw_ip.c
181
ip->ip_len =
ntohs
(ip->ip_len) - hlen;
182
NTOHS
(ip->ip_off);
tcp_input.c
329
NTOHS
(th->th_win);
330
NTOHS
(th->th_urp);
847
dst,
ntohs
(th->th_dport),
848
src,
ntohs
(th->th_sport));
867
dst,
ntohs
(th->th_dport),
868
src,
ntohs
(th->th_sport));
1283
len =
ntohs
(ip->ip_len);
3123
oi->maxseg =
ntohs
(mss);
sctp_input.c
116
if (
ntohs
(cp->ch.chunk_length) < sizeof(struct sctp_init_chunk)) {
184
if (asoc->pre_open_streams >
ntohs
(init->num_inbound_streams)) {
190
newcnt =
ntohs
(init->num_inbound_streams);
223
asoc->streamincnt =
ntohs
(init->num_outbound_streams);
334
initack_limit = offset +
ntohs
(cp->ch.chunk_length);
411
if (
ntohs
(cp->ch.chunk_length) != sizeof(struct sctp_heartbeat_chunk)) {
528
if (
ntohs
(cp->ch.chunk_length) != sizeof(struct sctp_shutdown_chunk)) {
533
ntohs
(cp->ch.chunk_length),
717
switch (
ntohs
(pbad->param_type)) {
774
chklen =
ntohs
(ch->chunk_length) - sizeof(struct sctp_chunkhdr)
[
all
...]
Completed in 18 milliseconds
Indexes created Fri Oct 17 23:09:53 GMT 2025