HomeSort by relevance Sort by last modified time
    Searched refs:ntohs (Results 1 - 25 of 414) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /onnv/onnv-gate/usr/src/cmd/ipf/lib/common/
printpacket6.c 20 plen = ntohs(*((u_short *)buf +2));
25 ntohs(addrs[0]), ntohs(addrs[1]), ntohs(addrs[2]),
26 ntohs(addrs[3]), ntohs(addrs[4]), ntohs(addrs[5]),
27 ntohs(addrs[6]), ntohs(addrs[7]));
30 (void)printf(",%d", ntohs(tcp->th_sport))
    [all...]
printpacket.c 25 len = ntohs(((u_short *)ip)[2]) + 40;
27 off = ntohs(ip->ip_off);
28 len = ntohs(ip->ip_len);
53 printf("ip %d(%d) %d", ntohs(ip->ip_len), IP_HL(ip) << 2, ip->ip_p);
59 printf(",%d", ntohs(tcp->th_sport));
64 printf(",%d", ntohs(tcp->th_dport));
portnum.c 39 *port = ntohs(sp->s_port);
60 *port = ntohs(p1);
printnat.c 104 printf(" port %d", ntohs(np->in_pmin));
106 printf("-%d", ntohs(np->in_pmax));
123 printf(" port = %d", ntohs(np->in_pnext));
125 printf(" port %d", ntohs(np->in_pnext));
174 s = portname(np->in_p, ntohs(np->in_dport));
202 ntohs(np->in_pmin),
203 ntohs(np->in_pmax),
206 printf(" %d:%d", ntohs(np->in_pmin),
207 ntohs(np->in_pmax));
printstate.c 34 ntohs(ips.is_sport), ntohs(ips.is_dport),
53 PRINTF(" %hu -> %hu\n", ntohs(ips.is_sport),
54 ntohs(ips.is_dport));
56 PRINTF(" call %hx/%hx\n", ntohs(ips.is_gre.gs_call[0]),
57 ntohs(ips.is_gre.gs_call[1]));
63 PRINTF(" id %hu seq %hu type %d\n", ntohs(ips.is_icmp.ici_id),
64 ntohs(ips.is_icmp.ici_seq), ips.is_icmp.ici_type);
  /onnv/onnv-gate/usr/src/lib/libbc/libc/net/sparc/
ntohs.c 32 ntohs(u_short a) function
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
snoop_udp.c 62 udplen = ntohs((ushort_t)udp->uh_ulen) - sizeof (struct udphdr);
70 ntohs(udp->uh_dport),
71 ntohs(udp->uh_sport),
72 ntohs((ushort_t)udp->uh_ulen));
75 sunrpc = !reservedport(IPPROTO_UDP, ntohs(udp->uh_dport)) &&
76 !reservedport(IPPROTO_UDP, ntohs(udp->uh_sport)) &&
83 dlc_header, 1), "Source port = %d", ntohs(udp->uh_sport));
88 pname = getportname(IPPROTO_UDP, ntohs(udp->uh_dport));
98 ntohs(udp->uh_dport), pname);
101 ntohs((ushort_t)udp->uh_ulen)
    [all...]
snoop_tftp.c 44 switch (ntohs(tftp->th_opcode)) {
55 switch (ntohs(tftp->th_opcode)) {
71 ntohs(tftp->th_block),
78 ntohs(tftp->th_block));
83 tftperror(ntohs(tftp->th_code)));
95 ntohs(tftp->th_opcode),
96 show_type(ntohs(tftp->th_opcode)));
98 switch (ntohs(tftp->th_opcode)) {
117 ntohs(tftp->th_block),
128 ntohs(tftp->th_block))
    [all...]
snoop_aarp.c 65 switch (ntohs(ap->arp_op)) {
98 ntohs(ap->arp_hrd));
101 ntohs(ap->arp_pro),
102 print_ethertype(ntohs(ap->arp_pro)));
111 ntohs(ap->arp_op),
112 aarp_opname[ntohs(ap->arp_op)]);
114 if (ntohs(ap->arp_hrd) == ARPHRD_ETHER &&
115 ntohs(ap->arp_pro) == ETHERTYPE_AT) {
124 (ntohs(ap->arp_op) == AARP_REQ ||
125 ntohs(ap->arp_op) == AARP_PROBE) ? "?"
    [all...]
snoop_trill.c 62 ntohs(trillhdr->th_egressnick));
65 ntohs(trillhdr->th_ingressnick));
95 ntohs(inner_ethhdr->ether_type));
100 ethertype = ntohs(inner_ethvlanhdr->ether_type);
105 ntohs(trillhdr->th_egressnick),
106 ntohs(trillhdr->th_ingressnick),
snoop_tcp.c 101 ntohs(tcp->th_dport), ntohs(tcp->th_sport));
114 ntohs(tcp->th_urp));
128 ntohs(tcp->th_win));
133 sunrpc = !reservedport(IPPROTO_TCP, ntohs(tcp->th_dport)) &&
134 !reservedport(IPPROTO_TCP, ntohs(tcp->th_sport)) &&
142 dlc_header, 2), "Source port = %d", ntohs(tcp->th_sport));
147 pname = getportname(IPPROTO_TCP, ntohs(tcp->th_dport));
157 ntohs(tcp->th_dport), pname);
195 4, 1), "Window = %d", ntohs(tcp->th_win))
    [all...]
snoop_ntp.c 112 ntohs(ntpc->sequence),
113 ntohs(ntpc->status),
114 ntohs(ntpc->associd));
165 ntohs(ntp->distance.int_part),
166 ntohs(ntp->distance.fraction),
172 ntohs(ntp->dispersion.int_part),
173 ntohs(ntp->dispersion.fraction),
274 ntohs(ntpc->sequence));
278 ntohs(ntpc->status));
282 ntohs(ntpc->associd))
    [all...]
snoop_arp.c 75 arpop = ntohs(ap->ar_op);
77 if (ntohs(ap->ar_pro) == ETHERTYPE_IP)
140 "Hardware type = %d (%s)", ntohs(ap->ar_hrd),
141 arp_htype(ntohs(ap->ar_hrd)));
143 "Protocol type = %04x (%s)", ntohs(ap->ar_pro),
144 print_ethertype(ntohs(ap->ar_pro)));
snoop_icmp.c 87 ntohs(icmp->icmp_id), ntohs(icmp->icmp_seq));
130 ntohs(orig_uhdr->uh_dport));
136 ntohs(orig_uhdr->uh_dport));
148 if (ntohs(icmp->icmp_nextmtu) != 0) {
151 ntohs(icmp->icmp_nextmtu));
223 ntohs(icmp->icmp_id), ntohs(icmp->icmp_seq));
234 ntohs(icmp->icmp_lifetime), icmp->icmp_num_addrs);
393 ntohs(icmp->icmp_cksum))
    [all...]
  /onnv/onnv-gate/usr/src/lib/librstp/common/
times.c 49 v->MessageAge = ntohs (*((unsigned short*) b->message_age)) >> 8;
51 v->MaxAge = ntohs (*((unsigned short*) b->max_age)) >> 8;
53 v->ForwardDelay = ntohs (*((unsigned short*) b->forward_delay)) >> 8;
55 v->HelloTime = ntohs (*((unsigned short*) b->hello_time)) >> 8;
  /onnv/onnv-gate/usr/src/cmd/lms/
ProtocolCompat.cpp 77 ntohs(msg->HostPort));
81 ntohs(msg->HostPort),
87 ntohs(msg->HostPort));
91 ntohs(msg->HostPort),
139 PRINT("[Compat]sending %d bytes from HECI connection %d to socket %d\n", ntohs(msg->DataLength), msg->ConnectionId, it->second->GetSocket());
140 if (-1 == _send(it->second->GetSocket(), (char *)msg->Data, ntohs(msg->DataLength), error)) {
  /onnv/onnv-gate/usr/src/lib/libc/amd64/gen/
byteorder.s 31 * NOTE: htonll/ntohll, htonl/ntohl, and htons/ntohs are identical
87 ENTRY(ntohs) function
92 SET_SIZE(ntohs)
  /onnv/onnv-gate/usr/src/cmd/dtrace/test/tst/common/funcs/
tst.hton.d 60 /after[0] != ntohs(before[0])/
62 printf("%x rather than %x", ntohs(before[0]), after[0]);
  /onnv/onnv-gate/usr/src/lib/libtnf/
machlibtnf.h 48 #define _tnf_swap16(x) ntohs(x)
  /onnv/onnv-gate/usr/src/grub/grub-0.97/netboot/
big_bswap.h 6 #define ntohs(x) (x) macro
little_bswap.h 6 #define ntohs(x) __bswap_16(x) macro
  /onnv/onnv-gate/usr/src/lib/libc/sparc/gen/
byteorder.c 38 * htonll(), ntohll(), htonl(), ntohl(), htons(), ntohs()
75 ntohs(uint16_t in) function
  /onnv/onnv-gate/usr/src/lib/libc/sparcv9/gen/
byteorder.c 38 * htonll(), ntohll(), htonl(), ntohl(), htons(), ntohs()
75 ntohs(uint16_t in) function
  /onnv/onnv-gate/usr/src/lib/libwrap/
rfc931.c 158 ntohs(SGPORT(rmt_sin)),
159 ntohs(SGPORT(our_sin)));
173 && ntohs(SGPORT(rmt_sin)) == rmt_port
174 && ntohs(SGPORT(our_sin)) == our_port) {
  /onnv/onnv-gate/usr/src/cmd/dtrace/test/tst/common/safety/
tst.hton.d 59 trace(ntohs(0x1122));

Completed in 1260 milliseconds

1 2 3 4 5 6 7 8 91011>>