Home
last modified time | relevance | path

Searched refs:ntohl (Results 126 – 150 of 351) sorted by relevance

12345678910>>...15

/openbsd/usr.sbin/rdate/
H A Drfc868time.c105 tim = ntohl(tim) - DIFFERENCE; in rfc868time_client()
H A Dntpleaps.c113 return (ntohl(res)); in read_be_dword()
/openbsd/lib/libc/rpc/
H A Dxdr_rec.c236 *lp = (long)ntohl((u_int32_t)(*buflp)); in xdrrec_getlong()
243 *lp = (long)ntohl((u_int32_t)mylong); in xdrrec_getlong()
536 rstrm->in_header = ntohl(rstrm->in_header); in __xdrrec_getrec()
679 header = (long)ntohl(header); in set_input_fragment()
/openbsd/sbin/ipsecctl/
H A Dpfkdump.c301 ntohl(sa->sadb_sa_spi), in print_sa()
305 ntohl(sa->sadb_sa_spi), in print_sa()
713 return (ntohl(sa->sadb_sa_spi)); in pfkey_get_spi()
734 r.spi = ntohl(sa->sadb_sa_spi); in pfkey_print_sa()
889 r.spi2 = ntohl(sa2->sadb_sa_spi); in pfkey_print_sa()
/openbsd/usr.sbin/bgpctl/
H A Dmrtparser.c84 len = ntohl(hdr->length); in mrt_read_msg()
106 if (ibuf_size(msg) != ntohl(h.length)) in mrt_parse()
108 ntohl(h.length)); in mrt_parse()
904 t.tv_sec = ntohl(hdr->timestamp); in mrt_parse_state()
967 t.tv_sec = ntohl(hdr->timestamp); in mrt_parse_msg()
/openbsd/sbin/slaacd/
H A Dengine.c1457 radv->reachable_time = ntohl(nd_ra->nd_ra_reachable); in parse_ra()
1458 radv->retrans_time = ntohl(nd_ra->nd_ra_retransmit); in parse_ra()
1495 prefix->vltime = ntohl(prf->nd_opt_pi_valid_time); in parse_ra()
1496 prefix->pltime = ntohl(prf->nd_opt_pi_preferred_time); in parse_ra()
1519 radv->rdns_lifetime = ntohl( in parse_ra()
1540 radv->mtu = ntohl(mtu->nd_opt_mtu_mtu); in parse_ra()
1743 log_debug("\tReachable Time: %ums", ntohl(nd_ra->nd_ra_reachable)); in debug_log_ra()
1801 ntohl(prf->nd_opt_pi_valid_time)); in debug_log_ra()
1803 ntohl(prf->nd_opt_pi_preferred_time)); in debug_log_ra()
1815 ntohl(mtu->nd_opt_mtu_mtu)); in debug_log_ra()
[all …]
/openbsd/usr.sbin/npppd/npppd/
H A Dnpppd_pool.c371 ip4 = ntohl(ppp->ppp_framed_ip_address.s_addr); in npppd_pool_assign_ip()
448 (void *)(uintptr_t)ntohl( in npppd_pool_release_ip()
466 netmask2prefixlen(ntohl(ppp->ppp_framed_ip_netmask.s_addr)), in npppd_pool_release_ip()
H A Dipcp.c308 PUTLONG(ntohl(ip_addrp->s_addr), in ipcp_reqci()
362 PUTLONG(ntohl(ppp->ppp_framed_ip_address.s_addr), in ipcp_reqci()
/openbsd/sys/netinet/
H A Dipsec_output.c114 ntohl(tdb->tdb_spi), tdb->tdb_sproto); in ipsp_process_packet()
132 ntohl(tdb->tdb_spi), tdb->tdb_sproto, in ipsp_process_packet()
642 ntohl(tdbp->tdb_spi), tdbp->tdb_mtu, adjust, m); in ipsec_adjust_mtu()
/openbsd/games/fortune/unstr/
H A Dunstr.c123 (void) fseek(Inf, ntohl(pos), SEEK_SET); in order_unstr()
/openbsd/usr.sbin/tcpdump/
H A Dprint-ip6opts.c83 printf("(jumbo: %u) ", (u_int32_t)ntohl(*(u_int *)&bp[i + 2])); in ip6_opt_print()
H A Dprint-tcp.c255 printf("%u ", ntohl(tp->th_seq)); in tcp_print()
258 seq = ntohl(tp->th_seq); in tcp_print()
259 ack = ntohl(tp->th_ack); in tcp_print()
H A Dprint-bootp.c91 printf(" xid:0x%x", (u_int32_t)ntohl(bp->bp_xid)); in bootp_print()
361 printf("%u", ntohl(ul)); in rfc1048_print()
/openbsd/usr.sbin/mrouted/
H A Dprune.h132 u_int32_t _x = ntohl(x); \
/openbsd/sys/dev/ic/
H A Dbwfm.c2570 if (ntohl(e->msg.event_type) >= BWFM_E_LAST) { in bwfm_rx_event_cb()
2575 switch (ntohl(e->msg.event_type)) { in bwfm_rx_event_cb()
2583 ntohl(e->msg.status) == BWFM_E_STATUS_ABORT) in bwfm_rx_event_cb()
2587 DEVNAME(sc), ntohl(e->msg.status))); in bwfm_rx_event_cb()
2590 if (ntohl(e->msg.status) != BWFM_E_STATUS_SUCCESS && in bwfm_rx_event_cb()
2591 ntohl(e->msg.status) != BWFM_E_STATUS_PARTIAL) { in bwfm_rx_event_cb()
2593 DEVNAME(sc), ntohl(e->msg.status))); in bwfm_rx_event_cb()
2596 if (ntohl(e->msg.status) == BWFM_E_STATUS_SUCCESS) { in bwfm_rx_event_cb()
2654 ntohl(e->msg.reason) == 0) in bwfm_rx_event_cb()
2680 ntohl(e->msg.event_type), ntohl(e->msg.status), in bwfm_rx_event_cb()
[all …]
/openbsd/sys/netmpls/
H A Dmpls.h146 #define MPLS_SHIM2LABEL(_s) (ntohl((_s)) >> MPLS_LABEL_OFFSET)
/openbsd/lib/libc/net/
H A DMakefile.inc17 linkaddr.c ntohl.c ntohs.c rcmd.c rcmdsh.c ruserok.c \
/openbsd/usr.bin/sndiod/
H A Dsock.c668 appbufsz = ntohl(p->appbufsz); in sock_setpar()
669 rate = ntohl(p->rate); in sock_setpar()
867 id = ntohl(p->id); in sock_hello()
992 cmd = ntohl(m->cmd); in sock_execmsg()
1022 size = ntohl(m->u.data.size); in sock_execmsg()
1269 ctl = ntohl(m->u.vol.ctl); in sock_execmsg()
1801 if (ntohl(f->wmsg.cmd) != AMSG_DATA) { in sock_write()
1807 f->wsize = f->wtodo = ntohl(f->wmsg.u.data.size); in sock_write()
/openbsd/sys/dev/pci/
H A Dyds.c310 *p = ntohl(*p); in nswaph()
332 p = (u_int32_t *)&yf->data[ntohl(yf->dsplen)]; in yds_download_mcode()
333 size = ntohl(yf->ds1len); in yds_download_mcode()
335 p = (u_int32_t *)&yf->data[ntohl(yf->dsplen) + ntohl(yf->ds1len)]; in yds_download_mcode()
336 size = ntohl(yf->ds1elen); in yds_download_mcode()
369 nswaph((u_int32_t *)&yf->data[0], ntohl(yf->dsplen)); in yds_download_mcode()
371 ntohl(yf->dsplen)); in yds_download_mcode()
/openbsd/libexec/spamd-setup/
H A Dspamd-setup.c203 c.addr = ntohl(c.addr); in parse_netblock()
217 start->addr = ntohl(start->addr); in parse_netblock()
221 end->addr = ntohl(end->addr) + 1; in parse_netblock()
230 start->addr = ntohl(start->addr); in parse_netblock()
/openbsd/usr.bin/netstat/
H A Dshow.c531 in = ntohl(in); in netname4()
532 mask = ntohl(mask); in netname4()
735 ntohl(smpls->smpls_label) >> MPLS_LABEL_OFFSET); in label_print()
/openbsd/usr.sbin/ldpd/
H A Dnotification.c138 nm.status_code = ntohl(st.status_code); in recv_notification()
174 nm.pw_status = ntohl(*(uint32_t *)buf); in recv_notification()
/openbsd/usr.sbin/trpt/
H A Dtrpt.c265 ntime = ntohl(td->td_time); in dotrace()
276 ntime = ntohl(td->td_time); in dotrace()
/openbsd/sys/dev/microcode/bwi/extract/
H A Dextract.c53 nfiles = ntohl(nfiles); in main()
/openbsd/gnu/usr.sbin/mkhybrid/src/libfile/
H A Dlfile.c138 return ntohl(from); /* msb -> lsb conversion on lsb */

12345678910>>...15