Home
last modified time | relevance | path

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

/freebsd-14.2/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()
575 u_char hmode, in peer_config() argument
592 switch (hmode) { in peer_config()
715 stoa(&p->dstadr->sin), stoa(&p->srcadr), p->hmode, in peer_refresh_interface()
795 u_char hmode, in newpeer() argument
843 peer = findexistingpeer(srcadr, hostname, NULL, hmode, in newpeer()
856 hmode, cast_flags, &ip_count); in newpeer()
[all …]
H A Dntp_config.c1419 int hmode, in create_peer_node() argument
4271 int hmode in is_sane_resolved_address() argument
4285 if ((T_Server == hmode || T_Peer == hmode || T_Pool == hmode) in is_sane_resolved_address()
4342 int hmode; in peerflag_bits() local
4347 hmode = pn->host_mode; in peerflag_bits()
4408 u_char hmode; in config_peers() local
4478 INSIST(hmode != 0); in config_peers()
4487 hmode, in config_peers()
4511 hmode, in config_peers()
4525 ctx->hmode = hmode; in config_peers()
[all …]
H A Dntp_proto.c588 if (peer->hmode != MODE_BCLIENT) in transmit()
2875 && MODE_CLIENT == peer->hmode in process_packet()
2880 peer->hmode = MODE_BCLIENT; in process_packet()
2882 peer->hmode = MODE_BCLIENT; in process_packet()
2885 peer->hmode = MODE_BCLIENT; in process_packet()
3274 if (peer->hmode == MODE_BCLIENT) in peer_clear()
4161 peer->hmode); in peer_xmit()
4200 if (peer->hmode == MODE_BROADCAST) { /* bcst */ in peer_xmit()
4239 stoa(&peer->srcadr), peer->hmode, sendlen, in peer_xmit()
4309 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.c279 switch (peer->hmode) { in refclock_newpeer()
H A Dntp_control.c1989 ? sys_peer->hmode in ctl_putsys()
2652 ctl_putuint(peer_var[id].text, p->hmode); in ctl_putpeer()
H A Dntp_crypto.c351 if (peer->hmode == MODE_BROADCAST) in make_keylist()
/freebsd-14.2/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-14.2/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.h308 peer_node *create_peer_node(int hmode, address_node *addr,
H A Dntp.h273 u_char hmode; /* local association mode */ member
/freebsd-14.2/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-14.2/contrib/ntp/sntp/
H A Dnetworking.h49 u_char hmode; member
/freebsd-14.2/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-14.2/contrib/ntp/ntpq/
H A Dntpq-subs.c1689 long hmode = 0; in doprintpeers() local
1761 decodeint(value, &hmode); in doprintpeers()
1864 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-14.2/contrib/wpa/wpa_supplicant/
H A Dctrl_iface.c4661 char *pos, *end, *hmode; in ctrl_iface_get_capability_channels() local
4669 hmode = "B"; in ctrl_iface_get_capability_channels()
4672 hmode = "G"; in ctrl_iface_get_capability_channels()
4675 hmode = "A"; in ctrl_iface_get_capability_channels()
4678 hmode = "AD"; in ctrl_iface_get_capability_channels()
4711 char *pos, *end, *hmode; in ctrl_iface_get_capability_freq() local
4719 hmode = "B"; in ctrl_iface_get_capability_freq()
4722 hmode = "G"; in ctrl_iface_get_capability_freq()
4725 hmode = "A"; in ctrl_iface_get_capability_freq()
4728 hmode = "AD"; in ctrl_iface_get_capability_freq()
[all …]
/freebsd-14.2/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 DNEWS1875 * Crafted addpeer with hmode > 7 causes array wraparound with MATCH_ASSOC
1883 hmode > 7 causes the MATCH_ASSOC() lookup to make an
5641 * Crafted addpeer with hmode > 7 causes array wraparound with MATCH_ASSOC
5649 hmode > 7 causes the MATCH_ASSOC() lookup to make an
H A DChangeLog750 * [Sec 3009] Crafted addpeer with hmode > 7 causes OOB error. [email protected]
H A DCommitLog24333 [Bug 3009] Crafted addpeer with hmode > 7 causes OOB error
24336 [Bug 3009] Crafted addpeer with hmode > 7 causes OOB error
24339 [Bug 3009] Crafted addpeer with hmode > 7 causes OOB error
24341 hmode <= 6 (7 is already out of range for a peer mode!)
171376 better t column in peers/opeers using hmode peer variable
171379 better t column in peers/opeers using hmode peer variable