/freebsd/contrib/ntp/ntpd/ |
H A D | ntp_peer.c | 190 && (-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 D | ntp_config.c | 1397 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 D | ntp_proto.c | 580 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 D | ntp_request.c | 689 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 D | ntp_refclock.c | 281 switch (peer->hmode) { in refclock_newpeer()
|
H A D | ntp_control.c | 1990 ? sys_peer->hmode in ctl_putsys() 2653 ctl_putuint(peer_var[id].text, p->hmode); in ctl_putpeer()
|
H A D | ntp_crypto.c | 358 if (peer->hmode == MODE_BROADCAST) in make_keylist()
|
/freebsd/contrib/ntp/ntpdc/ |
H A D | layout.std | 38 offsetof(hmode) = 6 53 offsetof(hmode) = 15 68 offsetof(hmode) = 12 229 offsetof(hmode) = 4 240 offsetof(hmode) = 4
|
H A D | ntpdc_ops.c | 389 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 D | ntp_request.h | 340 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 D | ntp_config.h | 306 peer_node *create_peer_node(int hmode, address_node *addr,
|
H A D | ntp.h | 269 u_char hmode; /* local association mode */ member
|
/freebsd/usr.sbin/ntp/ntpdc/ |
H A D | nl.c | 76 (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 D | networking.h | 49 u_char hmode; member
|
/freebsd/contrib/bsnmp/snmp_ntp/ |
H A D | snmp_ntp.c | 137 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 D | ctrl_iface.c | 4541 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 D | ntpq-subs.c | 1689 long hmode = 0; in doprintpeers() local 1760 decodeint(value, &hmode); in doprintpeers() 1856 switch (hmode) { in doprintpeers()
|
H A D | ntpq.texi | 704 @item @code{hmode}
|
H A D | ntpq-opts.def | 932 .It Cm hmode
|
H A D | invoke-ntpq.texi | 812 @item @code{hmode}
|
/freebsd/contrib/ntp/ |
H A D | CommitLog-4.1.0 | 4931 * 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 D | NEWS | 1739 * Crafted addpeer with hmode > 7 causes array wraparound with MATCH_ASSOC 1747 hmode > 7 causes the MATCH_ASSOC() lookup to make an
|
H A D | ChangeLog | 632 * [Sec 3009] Crafted addpeer with hmode > 7 causes OOB error. perlinger@ntp.org
|
H A D | CommitLog | 21112 [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
|