Searched refs:sroute (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/bsnmp/snmp_mibII/ |
H A D | mibII_route.c | 43 struct sroute { struct 44 RB_ENTRY(sroute) link; 50 static RB_HEAD(sroutes, sroute) sroutes = RB_INITIALIZER(&sroutes); argument 52 RB_PROTOTYPE(sroutes, sroute, link, sroute_compare); 62 sroute_compare(struct sroute *s1, struct sroute *s2) in sroute_compare() 69 sroute_index_append(struct asn_oid *oid, u_int sub, const struct sroute *s) in sroute_index_append() 80 sroute_print(const struct sroute *r) 100 struct sroute key; in mib_sroute_process() 101 struct sroute *r, *r1; in mib_sroute_process() 230 struct sroute *r, *r1; in mib_fetch_route() [all …]
|
/freebsd/sbin/ifconfig/ |
H A D | ifieee80211.c | 3808 int sroute; in scan_and_wait() local 3810 sroute = socket(PF_ROUTE, SOCK_RAW, 0); in scan_and_wait() 3811 if (sroute < 0) { in scan_and_wait() 3840 if (read(sroute, buf, sizeof(buf)) < 0) { in scan_and_wait() 3851 close(sroute); in scan_and_wait()
|