Searched refs:ntohs (Results 51 - 73 of 73) sorted by relevance

123

/xnu-2422.115.4/bsd/netinet/
H A Dip_mroute.c1894 switch (ntohs(udp->uh_dport) & 0xc000) {
1909 log(LOG_DEBUG, "port %x prio%d\n", ntohs(udp->uh_dport), prio);
H A Dmptcp_opt.c349 ntohs(infin_opt.mdss_data_len));
706 ntohs(dsn_opt.mdss_data_len));
H A Dtcp_output.c1396 if (ntohs(*dlenp) > len) {
2454 unsigned short winsz = ntohs(th->th_win);
H A Dtcp_lro.c529 ntohs(lro_flow_list[flow_id].lr_lport),
H A Din_pcb.c633 in_portinuse.port = ntohs(port); /* port in host order */
743 if (ntohs(lport) < IPPORT_RESERVED) {
H A Dflow_divert.c937 port = ntohs((satosin(to))->sin_port);
941 port = ntohs((satosin6(to))->sin6_port);
H A Dip_fw2_compat.c704 printf(" tcpwin %d", ntohs(cmd->arg1));
H A Dtcp_subr.c1815 mtu = ntohs(icp->icmp_nextmtu);
/xnu-2422.115.4/bsd/netinet6/
H A Dip6_input.c943 plen = (u_int32_t)ntohs(ip6->ip6_plen);
1406 *rtalertp = ntohs(rtalert_val);
H A Din6_ifattach.c826 ntohs(in6->s6_addr16[1]) != ifp->if_index)
H A Din6_src.c1860 scopeid = ntohs(sin6->sin6_addr.s6_addr16[1]);
H A Dip6_mroute.c1833 ntohs(eip6->ip6_plen));
H A Dah_core.c1301 iphdr.ip_off = htons(ntohs(iphdr.ip_off) & ip4_ah_offsetmask);
H A Din6_mcast.c2458 ifindex = ntohs(gsa->sin6.sin6_addr.s6_addr16[1]);
H A Dip6_output.c1730 plen = ntohs(ip6->ip6_plen);
H A Dnd6_rtr.c470 dr0.rtlifetime = ntohs(nd_ra->nd_ra_router_lifetime);
/xnu-2422.115.4/bsd/kern/
H A Duipc_socket.c3711 ntohs(inp->in6p_lport),
3716 ntohs(inp->in6p_fport),
4899 s, sizeof (s)), ntohs(inp->in6p_lport),
4902 d, sizeof (d)), ntohs(inp->in6p_fport),
/xnu-2422.115.4/bsd/net/
H A Dntstat.c149 sin6->sin6_scope_id = ntohs(sin6->sin6_addr.__u6_addr.__u6_addr16[1]);
187 sin6->sin6_scope_id = ntohs(sin6->sin6_addr.__u6_addr.__u6_addr16[1]);
H A Dpfvar.h1160 (d)->mss = ntohs((s)->mss); \
1166 ntohs((s)->scrub.pfss_flags) & PFSS_TIMESTAMP; \
H A Dif_bond.c1497 switch (ntohs(eh_p->ether_type)) {
1675 && ntohs(eh_p->ether_type) == IEEE8023AD_SLOW_PROTO_ETHERTYPE) {
H A Droute.c552 return (ntohs(SIN6(sa)->sin6_addr.s6_addr16[1]));
/xnu-2422.115.4/bsd/netkey/
H A Dkey.c1062 ntohs(dstport) != sav->remote_ike_port)
1067 ntohs(dstport) != sav->remote_ike_port)
1253 ntohs(sin6.sin6_addr.s6_addr16[1]);
1290 ntohs(sin6.sin6_addr.s6_addr16[1]);
/xnu-2422.115.4/bsd/nfs/
H A Dnfs_subs.c3265 v = ntohs(nxh->nxh_flags);

Completed in 253 milliseconds

123