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

/freebsd-11.0-release/contrib/ntp/ntpd/
H A Dntp_peer.c190 && (-1 == mode || p->hmode == mode)
235 sptoa(&peer->srcadr), mode, peer->hmode,
237 if ((-1 == mode || peer->hmode == mode ||
313 if (p->hmode != MODE_BCLIENT && p->dstadr != rbufp->dstadr)
324 *action = MATCH_ASSOC(p->hmode, pkt_mode);
564 u_char hmode,
581 switch (hmode) {
614 return newpeer(srcadr, hostname, dstadr, hmode, version,
644 (INT_MCASTIF & dstadr->flags) && MODE_CLIENT == p->hmode) {
683 stoa(&p->dstadr->sin), stoa(&p->srcadr), p->hmode,
560 peer_config( sockaddr_u * srcadr, const char * hostname, endpt * dstadr, 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
752 newpeer( sockaddr_u * srcadr, const char * hostname, endpt * dstadr, 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.c126 u_char hmode; /* MODE_* */ member in struct:peer_resolved_ctx_tag
265 static int is_sane_resolved_address(sockaddr_u *peeraddr, int hmode);
1216 int hmode,
1232 my_node->host_mode = hmode;
3713 int hmode
3727 if ((T_Server == hmode || T_Peer == hmode || T_Pool == hmode)
3734 if (T_Manycastclient == hmode && !IS_MCAST(peeraddr)) {
3842 u_char hmode; local
1215 create_peer_node( int hmode, address_node * addr, attr_val_fifo * options ) argument
[all...]
H A Dntp_request.c688 ip->hmode = pp->hmode;
780 ips->hmode = pp->hmode;
891 ip->hmode = pp->hmode;
1081 is->peer_mode = sys_peer->hmode;
1345 /* check mode value: 0 <= hmode <= 6
1352 * [Bug 3009] claims that a problem occurs for hmode > 7,
1354 * hmode >
[all...]
H A Dntp_proto.c539 if (peer->hmode != MODE_BCLIENT)
2463 && MODE_CLIENT == peer->hmode
2468 peer->hmode = MODE_BCLIENT;
2470 peer->hmode = MODE_BCLIENT;
2473 peer->hmode = MODE_BCLIENT;
2815 if (peer->hmode == MODE_BCLIENT)
2848 } else if (MODE_PASSIVE == peer->hmode) {
3671 peer->hmode);
3709 if (peer->hmode == MODE_BROADCAST) { /* bcst */
3749 stoa(&peer->srcadr), peer->hmode, sendle
[all...]
H A Dntp_refclock.c204 * Set peer.pmode based on the hmode. For appearances only.
206 switch (peer->hmode) {
H A Dntp_control.c499 { CP_HMODE, RO, "hmode" }, /* 9 */
1947 ? sys_peer->hmode
2600 ctl_putuint(peer_var[id].text, p->hmode);
H A Dntp_crypto.c352 if (peer->hmode == MODE_BROADCAST)
/freebsd-11.0-release/contrib/gdb/gdb/
H A Dremote-fileio.c147 mode_t hmode = 0; local
152 hmode |= S_IFREG;
154 hmode |= S_IFDIR;
156 hmode |= S_IFCHR;
159 hmode |= S_IRUSR;
161 hmode |= S_IWUSR;
163 hmode |= S_IXUSR;
165 hmode |= S_IRGRP;
167 hmode |= S_IWGRP;
169 hmode |
[all...]
/freebsd-11.0-release/contrib/ntp/sntp/
H A Dnetworking.h49 u_char hmode; member in struct:speer
/freebsd-11.0-release/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
585 u_char hmode; /* mode, either broadcast, active or client */ member in struct:old_conf_peer
597 u_char hmode; /* mode, either broadcast, active or client */ member in struct:conf_peer
H A Dntp_config.h281 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-11.0-release/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-11.0-release/contrib/ntp/ntpdc/
H A Dntpdc_ops.c386 modetoa(plist->hmode),
468 else if (plist->hmode == MODE_ACTIVE)
470 else if (plist->hmode == MODE_PASSIVE)
472 else if (plist->hmode == MODE_CLIENT)
474 else if (plist->hmode == MODE_BROADCAST)
476 else if (plist->hmode == MODE_BCLIENT)
596 (void) fprintf(fp, "hmode %s, pmode %s, stratum %d, precision %d\n",
597 modetoa(pp->hmode), modetoa(pp->pmode),
711 pl->hmode = pl->flags = 0;
787 pl->hmode
[all...]
/freebsd-11.0-release/contrib/bsnmp/snmp_ntp/
H A Dsnmp_ntp.c135 int32_t hmode; /* Mode */ member in struct:peer
960 "config,srcadr,srcport,dstadr,dstport,leap,hmode,stratum,"
1011 } else if (strcmp(name, "hmode") == 0 ||
1012 strcmp(name, "peer.hmode") == 0) {
1013 val_parse_int32(val, &p->hmode, 0, 7, 0);
1279 value->v.integer = t->hmode;
/freebsd-11.0-release/contrib/wpa/wpa_supplicant/
H A Dctrl_iface.c3749 char *pos, *end, *hmode; local
3757 hmode = "B";
3760 hmode = "G";
3763 hmode = "A";
3766 hmode = "AD";
3771 ret = os_snprintf(pos, end - pos, "Mode[%s] Channels:", hmode);
3799 char *pos, *end, *hmode; local
3807 hmode = "B";
3810 hmode = "G";
3813 hmode
[all...]
/freebsd-11.0-release/contrib/ntp/ntpq/
H A Dntpq-subs.c1544 { "hmode", 0 }, /* 13 */
1562 { "hmode", 0 }, /* 13 */
1582 { "hmode", 0 }, /* 14 */
1614 long hmode = 0; local
1679 } else if (!strcmp("hmode", name)) {
1680 decodeint(value, &hmode);
1771 * hmode gives the best guidance for the t column. If the response
1772 * did not include hmode we'll use the old decodeaddrtype() result.
1774 switch (hmode) {

Completed in 295 milliseconds