Home
last modified time | relevance | path

Searched refs:hmode (Results 1 – 24 of 24) sorted by relevance

/freebsd/contrib/ntp/ntpd/
H A Dntp_peer.c190 && (-1 == mode || p->hmode == mode) in findexistingpeer_name()
236 sptoa(&peer->srcadr), mode, peer->hmode, in findexistingpeer_addr()
243 if ((-1 == mode || peer->hmode == mode || in findexistingpeer_addr()
331 *action = MATCH_ASSOC(p->hmode, pkt_mode); in findpeer()
572 u_char hmode, in peer_config() argument
589 switch (hmode) { in peer_config()
691 stoa(&p->dstadr->sin), stoa(&p->srcadr), p->hmode, in peer_refresh_interface()
765 u_char hmode, in newpeer() argument
812 peer = findexistingpeer(srcadr, hostname, NULL, hmode, in newpeer()
825 hmode, cast_flags, &ip_count); in newpeer()
[all …]
H A Dntp_config.c1397 int hmode, in create_peer_node() argument
4243 int hmode in is_sane_resolved_address() argument
4257 if ((T_Server == hmode || T_Peer == hmode || T_Pool == hmode) in is_sane_resolved_address()
4314 int hmode; in peerflag_bits() local
4319 hmode = pn->host_mode; in peerflag_bits()
4380 u_char hmode; in config_peers() local
4450 INSIST(hmode != 0); in config_peers()
4459 hmode, in config_peers()
4483 hmode, in config_peers()
4497 ctx->hmode = hmode; in config_peers()
[all …]
H A Dntp_proto.c580 if (peer->hmode != MODE_BCLIENT) in transmit()
2823 && MODE_CLIENT == peer->hmode in process_packet()
2828 peer->hmode = MODE_BCLIENT; in process_packet()
2830 peer->hmode = MODE_BCLIENT; in process_packet()
2833 peer->hmode = MODE_BCLIENT; in process_packet()
3235 if (peer->hmode == MODE_BCLIENT) in peer_clear()
4115 peer->hmode); in peer_xmit()
4154 if (peer->hmode == MODE_BROADCAST) { /* bcst */ in peer_xmit()
4194 stoa(&peer->srcadr), peer->hmode, sendlen, in peer_xmit()
4264 switch (peer->hmode) { in peer_xmit()
[all …]
H A Dntp_request.c689 ip->hmode = pp->hmode; in list_peers()
781 ips->hmode = pp->hmode; in list_peers_sum()
892 ip->hmode = pp->hmode; in peer_info()
1083 is->peer_mode = sys_peer->hmode; in sys_info()
1360 if (temp_cp.hmode > MODE_BCLIENT) { in do_conf()
1380 temp_cp.hmode, temp_cp.version, temp_cp.minpoll, in do_conf()
H A Dntp_refclock.c281 switch (peer->hmode) { in refclock_newpeer()
H A Dntp_control.c1990 ? sys_peer->hmode in ctl_putsys()
2653 ctl_putuint(peer_var[id].text, p->hmode); in ctl_putpeer()
H A Dntp_crypto.c358 if (peer->hmode == MODE_BROADCAST) in make_keylist()
/freebsd/contrib/ntp/ntpdc/
H A Dlayout.std38 offsetof(hmode) = 6
53 offsetof(hmode) = 15
68 offsetof(hmode) = 12
229 offsetof(hmode) = 4
240 offsetof(hmode) = 4
H A Dntpdc_ops.c389 modetoa(plist->hmode), strhost); in peerlist()
475 else if (plist->hmode == MODE_ACTIVE) in dopeers()
477 else if (plist->hmode == MODE_PASSIVE) in dopeers()
479 else if (plist->hmode == MODE_CLIENT) in dopeers()
481 else if (plist->hmode == MODE_BROADCAST) in dopeers()
483 else if (plist->hmode == MODE_BCLIENT) in dopeers()
604 modetoa(pp->hmode), modetoa(pp->pmode), in printpeer()
720 pl->hmode = pl->flags = 0; in showpeer()
796 pl->hmode = plist[qitems].flags = 0; in peerstats()
1450 cpeer.hmode = (u_char) mode; in doconfig()
/freebsd/contrib/ntp/include/
H A Dntp_request.h340 u_char hmode; /* mode for this peer */ member
360 u_char hmode; /* peer mode */ member
380 u_char hmode; /* peer.hmode */ member
587 u_char hmode; /* mode, either broadcast, active or client */ member
599 u_char hmode; /* mode, either broadcast, active or client */ member
H A Dntp_config.h306 peer_node *create_peer_node(int hmode, address_node *addr,
H A Dntp.h269 u_char hmode; /* local association mode */ member
/freebsd/usr.sbin/ntp/ntpdc/
H A Dnl.c76 (int) offsetof(struct info_peer_list, hmode));
106 (int) offsetof(struct info_peer_summary, hmode));
136 (int) offsetof(struct info_peer, hmode));
454 (int) offsetof(struct old_conf_peer, hmode));
476 (int) offsetof(struct conf_peer, hmode));
/freebsd/contrib/ntp/sntp/
H A Dnetworking.h49 u_char hmode; member
/freebsd/contrib/bsnmp/snmp_ntp/
H A Dsnmp_ntp.c137 int32_t hmode; /* Mode */ member
1015 val_parse_int32(val, &p->hmode, 0, 7, 0); in fetch_peers()
1281 value->v.integer = t->hmode; in op_ntpPeersVarTable()
/freebsd/contrib/wpa/wpa_supplicant/
H A Dctrl_iface.c4541 char *pos, *end, *hmode; in ctrl_iface_get_capability_channels() local
4549 hmode = "B"; in ctrl_iface_get_capability_channels()
4552 hmode = "G"; in ctrl_iface_get_capability_channels()
4555 hmode = "A"; in ctrl_iface_get_capability_channels()
4558 hmode = "AD"; in ctrl_iface_get_capability_channels()
4591 char *pos, *end, *hmode; in ctrl_iface_get_capability_freq() local
4599 hmode = "B"; in ctrl_iface_get_capability_freq()
4602 hmode = "G"; in ctrl_iface_get_capability_freq()
4605 hmode = "A"; in ctrl_iface_get_capability_freq()
4608 hmode = "AD"; in ctrl_iface_get_capability_freq()
[all …]
/freebsd/contrib/ntp/ntpq/
H A Dntpq-subs.c1689 long hmode = 0; in doprintpeers() local
1760 decodeint(value, &hmode); in doprintpeers()
1856 switch (hmode) { in doprintpeers()
H A Dntpq.texi704 @item @code{hmode}
H A Dntpq-opts.def932 .It Cm hmode
H A Dinvoke-ntpq.texi812 @item @code{hmode}
/freebsd/contrib/ntp/
H A DCommitLog-4.1.04931 * ntpd/refclock_parse.c (CLK_REALTYPE): We really want ttl, not hmode.
4933 ttl member, not the hmode member.
4949 * ntpd/refclock_parse.c (CLK_REALTYPE): Use hmode, not ttl.
5130 * ntpd/ntp_config.c (getconfig): MODE was setting ttl, not hmode.
H A DNEWS1739 * Crafted addpeer with hmode > 7 causes array wraparound with MATCH_ASSOC
1747 hmode > 7 causes the MATCH_ASSOC() lookup to make an
H A DChangeLog632 * [Sec 3009] Crafted addpeer with hmode > 7 causes OOB error. perlinger@ntp.org
H A DCommitLog21112 [Bug 3009] Crafted addpeer with hmode > 7 causes OOB error
21115 [Bug 3009] Crafted addpeer with hmode > 7 causes OOB error
21118 [Bug 3009] Crafted addpeer with hmode > 7 causes OOB error
21120 hmode <= 6 (7 is already out of range for a peer mode!)
168155 better t column in peers/opeers using hmode peer variable
168158 better t column in peers/opeers using hmode peer variable