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()
320 if (p->hmode != MODE_BCLIENT && p->dstadr != rbufp->dstadr) in findpeer()
331 *action = MATCH_ASSOC(p->hmode, pkt_mode); in findpeer()
575 u_char hmode, in peer_config()
592 switch (hmode) { in peer_config()
625 return newpeer(srcadr, hostname, dstadr, ippeerlimit, hmode, version,
673 (INT_MCASTIF & dstadr->flags) && MODE_CLIENT == p->hmode) { in set_peerdstadr()
715 stoa(&p->dstadr->sin), stoa(&p->srcadr), p->hmode, in peer_refresh_interface()
572 peer_config(sockaddr_u * srcadr,const char * hostname,endpt * dstadr,int ippeerlimit,u_char hmode,u_char version,u_char minpoll,u_char maxpoll,u_int flags,u_int32 ttl,keyid_t key,const char * ident) peer_config() argument
765 newpeer(sockaddr_u * srcadr,const char * hostname,endpt * dstadr,int ippeerlimit,u_char hmode,u_char version,u_char minpoll,u_char maxpoll,u_int flags,u_char cast_flags,u_int32 ttl,keyid_t key,const char * ident) newpeer() argument
[all...]
H A Dntp_config.c127 u_char hmode; /* MODE_* */
264 static int is_sane_resolved_address(sockaddr_u *peeraddr, int hmode);
1419 int hmode, in create_peer_node()
1435 my_node->host_mode = hmode; in create_peer_node()
4271 int hmode in is_sane_resolved_address()
4285 if ((T_Server == hmode || T_Peer == hmode || T_Pool == hmode) in get_correct_host_mode()
4292 if (T_Manycastclient == hmode && !IS_MCAST(peeraddr)) { in get_correct_host_mode()
4342 int hmode; in peerflag_bits()
128 u_char hmode; /* MODE_* */ global() member
1397 create_peer_node(int hmode,address_node * addr,attr_val_fifo * options) create_peer_node() argument
4243 is_sane_resolved_address(sockaddr_u * peeraddr,int hmode) is_sane_resolved_address() argument
4314 int hmode; peerflag_bits() local
4380 u_char hmode; config_peers() local
[all...]
H A Dntp_proto.c587 poll_update(peer, hpoll, (peer->hmode == MODE_CLIENT)); in transmit()
588 if (peer->hmode != MODE_BCLIENT) in transmit()
2538 poll_update(peer, peer->hpoll, (peer->hmode == MODE_CLIENT)); in receive()
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()
[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()
1349 /* check mode value: 0 <= hmode <= 6 in do_conf()
1356 * [Bug 3009] claims that a problem occurs for hmode > 7, in do_conf()
1358 * hmode > in do_conf()
[all...]
H A Dntp_refclock.c277 * Set peer.pmode based on the hmode. For appearances only. in refclock_newpeer()
279 switch (peer->hmode) { in refclock_newpeer()
H A Dntp_control.c504 { CP_HMODE, RO, "hmode" }, /* 9 */
1989 ? 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/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.h308 peer_node *create_peer_node(int hmode, address_node *addr,
H A Dntp.h273 u_char hmode; /* local association mode */
269 u_char hmode; /* local association mode */ global() 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/ntp/ntpq/
H A Dntpq-subs.c1619 { "hmode", 0 }, /* 13 */
1637 { "hmode", 0 }, /* 13 */
1657 { "hmode", 0 }, /* 14 */
1689 long hmode = 0; in doprintpeers() local
1760 } else if (!strcmp("hmode", name)) { in doprintpeers()
1761 decodeint(value, &hmode); in doprintpeers()
1861 * hmode gives the best guidance for the t column. If the response in doprintpeers()
1862 * did not include hmode we'll use the old decodeaddrtype() result. 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/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()
4683 ret = os_snprintf(pos, end - pos, "Mode[%s] Channels:", hmode); 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()
[all …]
/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 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. perlinger@ntp.org
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!)
[all...]