Searched refs:hmode (Results 1 - 16 of 16) sorted by relevance

/freebsd-13-stable/contrib/ntp/ntpd/
H A Dntp_peer.c190 && (-1 == mode || p->hmode == mode)
236 sptoa(&peer->srcadr), mode, peer->hmode,
243 if ((-1 == mode || peer->hmode == mode ||
320 if (p->hmode != MODE_BCLIENT && p->dstadr != rbufp->dstadr)
331 *action = MATCH_ASSOC(p->hmode, pkt_mode);
572 u_char hmode,
589 switch (hmode) {
622 return newpeer(srcadr, hostname, dstadr, ippeerlimit, hmode, version,
652 (INT_MCASTIF & dstadr->flags) && MODE_CLIENT == p->hmode) {
691 stoa(&p->dstadr->sin), stoa(&p->srcadr), p->hmode,
567 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 ) argument
760 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 ) argument
[all...]
H A Dntp_config.c127 u_char hmode; /* MODE_* */ member in struct:peer_resolved_ctx_tag
276 static int is_sane_resolved_address(sockaddr_u *peeraddr, int hmode);
1354 int hmode,
1370 my_node->host_mode = hmode;
4097 int hmode
4111 if ((T_Server == hmode || T_Peer == hmode || T_Pool == hmode)
4118 if (T_Manycastclient == hmode && !IS_MCAST(peeraddr)) {
4169 int hmode; local
1353 create_peer_node( int hmode, address_node * addr, attr_val_fifo * options ) argument
4235 u_char hmode; local
[all...]
H A Dntp_proto.c578 poll_update(peer, hpoll, (peer->hmode == MODE_CLIENT));
579 if (peer->hmode != MODE_BCLIENT)
2449 poll_update(peer, peer->hpoll, (peer->hmode == MODE_CLIENT));
2788 && MODE_CLIENT == peer->hmode
2793 peer->hmode = MODE_BCLIENT;
2795 peer->hmode = MODE_BCLIENT;
2798 peer->hmode = MODE_BCLIENT;
3193 if (peer->hmode == MODE_BCLIENT)
3230 } else if (MODE_PASSIVE == peer->hmode) {
4073 peer->hmode);
[all...]
H A Dntp_request.c689 ip->hmode = pp->hmode;
781 ips->hmode = pp->hmode;
892 ip->hmode = pp->hmode;
1083 is->peer_mode = sys_peer->hmode;
1349 /* check mode value: 0 <= hmode <= 6
1356 * [Bug 3009] claims that a problem occurs for hmode > 7,
1358 * hmode >
[all...]
H A Dntp_refclock.c276 * Set peer.pmode based on the hmode. For appearances only.
278 switch (peer->hmode) {
H A Dntp_control.c506 { CP_HMODE, RO, "hmode" }, /* 9 */
1995 ? sys_peer->hmode
2658 ctl_putuint(peer_var[id].text, p->hmode);
H A Dntp_crypto.c358 if (peer->hmode == MODE_BROADCAST)
/freebsd-13-stable/contrib/ntp/sntp/
H A Dnetworking.h49 u_char hmode; member in struct:speer
/freebsd-13-stable/contrib/ntp/include/
H A Dntp_request.h340 u_char hmode; /* mode for this peer */ member in struct:info_peer_list
360 u_char hmode; /* peer mode */ member in struct:info_peer_summary
380 u_char hmode; /* peer.hmode */ member in struct:info_peer
587 u_char hmode; /* mode, either broadcast, active or client */ member in struct:old_conf_peer
599 u_char hmode; /* mode, either broadcast, active or client */ member in struct:conf_peer
H A Dntp_config.h305 peer_node *create_peer_node(int hmode, address_node *addr,
H A Dntp.h269 u_char hmode; /* local association mode */ member in struct:peer
/freebsd-13-stable/usr.sbin/ntp/ntpdc/
H A Dnl.c76 printf("offsetof(hmode) = %d\n",
77 (int) offsetof(struct info_peer_list, hmode));
106 printf("offsetof(hmode) = %d\n",
107 (int) offsetof(struct info_peer_summary, hmode));
136 printf("offsetof(hmode) = %d\n",
137 (int) offsetof(struct info_peer, hmode));
454 printf("offsetof(hmode) = %d\n",
455 (int) offsetof(struct old_conf_peer, hmode));
476 printf("offsetof(hmode) = %d\n",
477 (int) offsetof(struct conf_peer, hmode));
[all...]
/freebsd-13-stable/contrib/ntp/ntpdc/
H A Dntpdc_ops.c389 modetoa(plist->hmode), strhost);
475 else if (plist->hmode == MODE_ACTIVE)
477 else if (plist->hmode == MODE_PASSIVE)
479 else if (plist->hmode == MODE_CLIENT)
481 else if (plist->hmode == MODE_BROADCAST)
483 else if (plist->hmode == MODE_BCLIENT)
603 (void) fprintf(fp, "hmode %s, pmode %s, stratum %d, precision %d\n",
604 modetoa(pp->hmode), modetoa(pp->pmode),
720 pl->hmode = pl->flags = 0;
796 pl->hmode
[all...]
/freebsd-13-stable/contrib/bsnmp/snmp_ntp/
H A Dsnmp_ntp.c137 int32_t hmode; /* Mode */ member in struct:peer
962 "config,srcadr,srcport,dstadr,dstport,leap,hmode,stratum,"
1013 } else if (strcmp(name, "hmode") == 0 ||
1014 strcmp(name, "peer.hmode") == 0) {
1015 val_parse_int32(val, &p->hmode, 0, 7, 0);
1281 value->v.integer = t->hmode;
/freebsd-13-stable/contrib/wpa/wpa_supplicant/
H A Dctrl_iface.c4263 char *pos, *end, *hmode; local
4271 hmode = "B";
4274 hmode = "G";
4277 hmode = "A";
4280 hmode = "AD";
4285 ret = os_snprintf(pos, end - pos, "Mode[%s] Channels:", hmode);
4313 char *pos, *end, *hmode; local
4321 hmode = "B";
4324 hmode = "G";
4327 hmode
[all...]
/freebsd-13-stable/contrib/ntp/ntpq/
H A Dntpq-subs.c1601 { "hmode", 0 }, /* 13 */
1619 { "hmode", 0 }, /* 13 */
1639 { "hmode", 0 }, /* 14 */
1671 long hmode = 0; local
1741 } else if (!strcmp("hmode", name)) {
1742 decodeint(value, &hmode);
1835 * hmode gives the best guidance for the t column. If the response
1836 * did not include hmode we'll use the old decodeaddrtype() result.
1838 switch (hmode) {

Completed in 304 milliseconds