Searched refs:ntohs (Results 401 - 425 of 577) sorted by relevance

<<11121314151617181920>>

/freebsd-11-stable/sys/contrib/ipfilter/netinet/
H A Dip_rpcb_pxy.c828 udp->uh_ulen = htons(ntohs(udp->uh_ulen) + diff);
1469 udp->uh_ulen = htons(ntohs(udp->uh_ulen) + len);
H A Dip_state.c1598 is->is_maxswin = ntohs(tcp->th_win);
2016 (ntohs(is->is_sport) != fin->fin_data[0]))
2178 win = ntohs(tcp->th_win);
2180 win = ntohs(tcp->th_win) << fdata->td_winscale;
2388 clone->is_maxdwin = ntohs(tcp->th_win);
2396 clone->is_maxswin = ntohs(tcp->th_win);
2467 dp = ntohs(fin->fin_dport);
/freebsd-11-stable/contrib/ipfilter/tools/
H A Dipmon_y.y868 printf("%sdstport = %hu", coma, ntohs(a->ac_dport));
954 printf("%ssrcport = %hu", coma, ntohs(a->ac_sport));
/freebsd-11-stable/contrib/ntp/ntpd/
H A Dntp_request.c1822 cr.flags = ntohs(cr.flags); /* XXX */
1823 cr.mflags = ntohs(cr.mflags);
1857 cr.flags = ntohs(cr.flags); /* XXX: size */
1858 cr.mflags = ntohs(cr.mflags);
1859 cr.ippeerlimit = ntohs(cr.ippeerlimit);
/freebsd-11-stable/sbin/pfctl/
H A Dparse.y2561 yyerror("invalid divert port: %u", ntohs($2.a));
2580 yyerror("invalid divert port: %u", ntohs($4.a));
4121 r.rpool.proxy_port[0] = ntohs($9->rport.a);
4128 ntohs($9->rport.a) +
4129 (ntohs(
4131 ntohs(
4135 ntohs($9->rport.b);
4139 ntohs($9->rport.b);
4915 snprintf(a1, sizeof(a1), "%u", ntohs(port->port[0]));
4916 snprintf(a2, sizeof(a2), "%u", ntohs(por
[all...]
/freebsd-11-stable/usr.sbin/route6d/
H A Droute6d.c762 inet6_n2p(&sin6->sin6_addr), ntohs(sin6->sin6_port));
765 nrt, inet6_n2p(&sin6->sin6_addr), ntohs(sin6->sin6_port));
783 ntohs(np->rip6_tag) & 0xffff);
1204 if (ntohs(fsock.sin6_port) != RIP6_PORT) {
1254 ifcp->ifc_name, inet6_n2p(&nh), ntohs(fsock.sin6_port), nn);
1303 trace(2, " tag=0x%04x", ntohs(np->rip6_tag) & 0xffff);
3123 ntohs(rrt->rrt_info.rip6_tag) & 0xffff);
/freebsd-11-stable/contrib/ntp/sntp/libevent/
H A Devutil.c881 return ntohs(ent->s_port);
2152 port = ntohs(sin->sin_port);
2160 port = ntohs(sin6->sin6_port);
/freebsd-11-stable/sys/net/altq/
H A Daltq_subr.c862 sum = ~ntohs(ip->ip_sum) & 0xffff;
1171 ip_off = ntohs(ip->ip_off);
1920 if ((ntohs(ip->ip_off) & IP_MF) == 0)
/freebsd-11-stable/sys/dev/cxgb/ulp/iw_cxgb/
H A Diw_cxgb_cm.c639 plen = ntohs(mpa->private_data_size);
803 plen = ntohs(mpa->private_data_size);
1542 ntohl(remote->sin_addr.s_addr), ntohs(remote->sin_port));
/freebsd-11-stable/sys/netinet/
H A Dsctp_output.c4996 limit = ntohs(cp->chunk_length) - sizeof(struct sctp_init_chunk);
5004 ptype = ntohs(phdr->param_type);
5005 plen = ntohs(phdr->param_length);
5396 ptype = ntohs(phdr->param_type);
5397 plen = ntohs(phdr->param_length);
5689 stc.scope_id = ntohs(in6_getscope(&src6->sin6_addr));
5900 his_limit = ntohs(init_chk->init.num_inbound_streams);
9041 ptype = ntohs(phdr->param_type);
9042 plen = ntohs(phdr->param_length);
11568 chk_length = ntohs(c
[all...]
H A Din_pcb.c631 if (ntohs(lport) <= V_ipport_reservedhigh &&
632 ntohs(lport) >= V_ipport_reservedlow &&
2507 ntohs(inc->inc_lport));
2510 ntohs(inc->inc_fport));
/freebsd-11-stable/contrib/ldns/
H A Drdata.c94 return ntohs(data);
/freebsd-11-stable/crypto/heimdal/appl/push/
H A Dpush.c107 snprintf (portstr, sizeof(portstr), "%u", ntohs(port));
/freebsd-11-stable/crypto/heimdal/lib/kadm5/
H A Dinit_c.c424 snprintf (portstr, sizeof(portstr), "%u", ntohs(ctx->kadmind_port));
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dsend_to_kdc.c284 ntohs(init_port (colon, htons(80))));
/freebsd-11-stable/sys/netgraph/
H A Dng_cisco.c472 switch (ntohs(h->protocol)) {
/freebsd-11-stable/sys/dev/vxge/
H A Dvxge-osdep.h290 #define vxge_os_ntohs ntohs
/freebsd-11-stable/usr.bin/systat/
H A Dnetstat.c563 ntohs((u_short)port));
/freebsd-11-stable/sys/net/
H A Dif_arcsubr.c149 switch(ntohs(ah->ar_op)) {
/freebsd-11-stable/sys/dev/firewire/
H A Dfirewire.c2201 ntohs(rfp->mode.wreqb.len));
2216 xfer->send.len = 16 + ntohs(rfp->mode.rreqb.len);
2220 ntohs(rfp->mode.rreqb.len));
2240 xfer->dst = ntohs(rfp->mode.hdr.src);
/freebsd-11-stable/sys/dev/ntb/if_ntb/
H A Dif_ntb.c455 switch (ntohs(proto)) {
/freebsd-11-stable/libexec/tftpd/
H A Dtftpd.c416 tp->th_opcode = ntohs(tp->th_opcode);
/freebsd-11-stable/sys/netipsec/
H A Dipsec_input.c188 ntohs(dst_address.sin6.sin6_addr.s6_addr16[1]);
/freebsd-11-stable/usr.bin/getent/
H A Dgetent.c511 se->s_name, ntohs(se->s_port), se->s_proto)
/freebsd-11-stable/usr.bin/netstat/
H A Droute.c685 ntohs(*(u_int16_t *)&sa6->sin6_addr.s6_addr[2]);

Completed in 435 milliseconds

<<11121314151617181920>>