/freebsd-current/tests/sys/netinet/ |
H A D | redirect.py | 50 parser.add_argument('--iface', type=str, required=True, 67 def send_packet(pkt, iface, feedback=False): 71 socket = sc.conf.L2socket(iface=args.iface) 75 sc.sendp(pkt, iface=iface, verbose=False) 82 send_packet(pkt, args.iface)
|
/freebsd-current/contrib/wpa/src/ap/ |
H A D | drv_callbacks.c | 232 if (hapd->iface->drv_max_acl_mac_addrs == 0 && 252 (hapd->iface->conf->ht_capab & 260 ht40_intolerant_add(hapd->iface, sta); 290 if (hapd->iface->fst) 358 hapd->iface->freq, 879 if (!hapd->iface->current_mode) { 886 hapd->iface->freq = freq; 914 switch (hapd->iface->current_mode->mode) { 980 is_dfs = ieee80211_is_dfs(freq, hapd->iface->hw_features, 981 hapd->iface 1378 get_hapd_bssid(struct hostapd_iface *iface, const u8 *bssid) argument 1412 struct hostapd_iface *iface = hapd->iface; local 1536 struct hostapd_iface *iface = hapd->iface; local 1570 hostapd_get_mode_channel( struct hostapd_iface *iface, unsigned int freq) argument 1588 hostapd_update_nf(struct hostapd_iface *iface, struct hostapd_channel_data *chan, struct freq_survey *survey) argument 1606 hostapd_single_channel_get_survey(struct hostapd_iface *iface, struct survey_results *survey_res) argument 1643 hostapd_event_get_survey(struct hostapd_iface *iface, struct survey_results *survey_results) argument [all...] |
H A D | ctrl_iface_ap.c | 683 struct hostapd_iface *iface = hapd->iface; local 684 struct hostapd_hw_modes *mode = iface->current_mode; 702 hostapd_state_text(iface->state), 703 iface->phy, 704 iface->freq, 705 iface->num_sta_non_erp, 706 iface->num_sta_no_short_slot_time, 707 iface->num_sta_no_short_preamble, 708 iface [all...] |
H A D | sta_info.c | 207 if (!hapd->iface->driver_ap_teardown && 223 hapd->iface->num_sta_non_erp--; 224 if (hapd->iface->num_sta_non_erp == 0) 230 hapd->iface->num_sta_no_short_slot_time--; 231 if (hapd->iface->current_mode && 232 hapd->iface->current_mode->mode == HOSTAPD_MODE_IEEE80211G 233 && hapd->iface->num_sta_no_short_slot_time == 0) 239 hapd->iface->num_sta_no_short_preamble--; 240 if (hapd->iface->current_mode && 241 hapd->iface 798 struct hostapd_iface *iface = hapd->iface; local 1065 const char *iface; local [all...] |
H A D | ieee802_11_vht.c | 26 struct hostapd_hw_modes *mode = hapd->iface->current_mode; 33 mode->vht_capab == 0 && hapd->iface->hw_features) { 36 for (i = 0; i < hapd->iface->num_hw_features; i++) { 37 if (hapd->iface->hw_features[i].mode == 39 mode = &hapd->iface->hw_features[i]; 51 hapd->iface->conf->vht_capab); 176 !check_valid_vht_mcs(hapd->iface->current_mode, vht_capab)) { 264 if (!hapd->iface->current_mode || 265 hapd->iface->current_mode->mode != HOSTAPD_MODE_IEEE80211G)
|
/freebsd-current/sys/net/altq/ |
H A D | altq_cdnr.h | 81 struct cdnr_interface iface; member in struct:cdnr_add_element 88 struct cdnr_interface iface; member in struct:cdnr_delete_element 94 struct cdnr_interface iface; member in struct:cdnr_add_tbmeter 103 struct cdnr_interface iface; member in struct:cdnr_modify_tbmeter 109 struct cdnr_interface iface; member in struct:cdnr_tbmeter_stats 117 struct cdnr_interface iface; member in struct:cdnr_add_trtcm 129 struct cdnr_interface iface; member in struct:cdnr_modify_trtcm 137 struct cdnr_interface iface; member in struct:cdnr_tcm_stats 146 struct cdnr_interface iface; member in struct:cdnr_add_tswtcm 158 struct cdnr_interface iface; member in struct:cdnr_modify_tswtcm 166 struct cdnr_interface iface; member in struct:cdnr_add_filter 175 struct cdnr_interface iface; member in struct:cdnr_delete_filter 186 struct cdnr_interface iface; member in struct:cdnr_get_stats [all...] |
/freebsd-current/contrib/wpa/src/fst/ |
H A D | fst_session.h | 21 void fst_session_global_on_iface_detached(struct fst_iface *iface); 26 void fst_session_set_iface(struct fst_session *s, struct fst_iface *iface, 34 void fst_session_handle_action(struct fst_session *s, struct fst_iface *iface, 55 void fst_session_on_action_rx(struct fst_iface *iface,
|
H A D | fst_iface.c | 24 fst_printf_group(g, MSG_ERROR, "cannot allocate iface for %s", 52 bool fst_iface_is_connected(struct fst_iface *iface, const u8 *addr, argument 56 const u8 *a = fst_iface_get_peer_first(iface, &ctx, mb_only); 58 for (; a != NULL; a = fst_iface_get_peer_next(iface, &ctx, mb_only))
|
H A D | fst_session.c | 35 #define fst_printf_siface(s, iface, level, format, ...) \ 37 fst_iface_get_name(iface), ##__VA_ARGS__) 278 struct fst_iface *iface = local 288 if (!iface) { 313 res = fst_iface_send_action(iface, 317 fst_printf_siface(s, iface, MSG_ERROR, 321 fst_printf_siface(s, iface, MSG_DEBUG, "FST Action '%s' sent", 358 static void fst_session_handle_setup_request(struct fst_iface *iface, argument 370 fst_printf_iface(iface, MSG_WARNING, 381 fst_printf_iface(iface, MSG_WARNIN 500 fst_session_handle_setup_response(struct fst_session *s, struct fst_iface *iface, const struct ieee80211_mgmt *mgmt, size_t frame_len) argument 604 fst_session_handle_tear_down(struct fst_session *s, struct fst_iface *iface, const struct ieee80211_mgmt *mgmt, size_t frame_len) argument 639 fst_session_handle_ack_request(struct fst_session *s, struct fst_iface *iface, const struct ieee80211_mgmt *mgmt, size_t frame_len) argument 703 fst_session_handle_ack_response(struct fst_session *s, struct fst_iface *iface, const struct ieee80211_mgmt *mgmt, size_t frame_len) argument 787 fst_session_set_iface(struct fst_session *s, struct fst_iface *iface, bool is_old) argument 1071 fst_session_handle_action(struct fst_session *s, struct fst_iface *iface, const struct ieee80211_mgmt *mgmt, size_t frame_len) argument 1194 fst_session_on_action_rx(struct fst_iface *iface, const struct ieee80211_mgmt *mgmt, size_t len) argument 1286 fst_session_global_on_iface_detached(struct fst_iface *iface) argument 1587 struct fst_iface *iface; local [all...] |
/freebsd-current/tests/sys/netpfil/pf/ |
H A D | rtable.sh | 47 jexec router route add -fib 1 -net ${net_server} -iface ${epair_server}a 67 jexec router route add -fib 1 -net ${net_tester} -iface ${epair_tester}b 94 jexec router route add -fib 1 -6 ${net_server} -iface ${epair_server}a 117 jexec router route add -fib 1 -6 ${net_tester} -iface ${epair_tester}b
|
H A D | CVE-2019-5597.py | 59 sp.sendp(pkt0, iface=intf, verbose=False) 60 sp.sendp(pkt1, iface=intf, verbose=False)
|
/freebsd-current/sys/netgraph/netflow/ |
H A D | ng_netflow.c | 284 if (strncmp(name, NG_NETFLOW_HOOK_DATA, /* an iface hook? */ 286 iface_p iface; local 303 iface = &priv->ifaces[ifnum]; 306 NG_HOOK_SET_PRIVATE(hook, iface); 307 iface->hook = hook; 314 iface->info.ifinfo_dlt = DLT_EN10MB; 318 iface_p iface; local 335 iface = &priv->ifaces[ifnum]; 338 NG_HOOK_SET_PRIVATE(hook, iface); 339 iface 422 struct ng_netflow_iface *iface; local 452 struct ng_netflow_iface *iface; local 590 const iface_p iface = NG_HOOK_PRIVATE(hook); local 1037 iface_p iface = NG_HOOK_PRIVATE(hook); local [all...] |
/freebsd-current/contrib/ntp/ntpd/ |
H A D | ntp_io.c | 558 print_interface(const endpt *iface, const char *pfx, const char *sfx) argument 562 iface->ifnum, 563 (long long)iface->fd, 564 (long long)iface->bfd, 565 iface->name, 566 iface->flags, 567 iface->ifindex, 568 stoa(&iface->sin)); 569 if (AF_INET == iface->family) { 570 if (iface 751 endpt * iface; local 2062 endpt * iface; local 2316 enable_broadcast( endpt * iface, sockaddr_u * baddr ) argument 2333 socket_broadcast_enable( endpt * iface, SOCKET fd, sockaddr_u * baddr ) argument 2367 socket_broadcast_disable( endpt * iface, sockaddr_u * baddr ) argument 2425 enable_multicast_if( endpt * iface, sockaddr_u * maddr ) argument 2492 socket_multicast_enable( endpt * iface, sockaddr_u * maddr ) argument 2570 socket_multicast_disable( endpt * iface, sockaddr_u * maddr ) argument 2896 endpt *iface; local 4028 endpt *iface; local 4067 endpt * iface; local 4296 endpt *iface; local 4315 endpt * iface; local [all...] |
/freebsd-current/contrib/openresolv/ |
H A D | resolvconf.in | 149 case "$iface" in 154 if [ -e "$PRIVATEDIR/$iface" ]; then 159 case "$iface" in 184 iface="${line#\# resolv.conf from *}" 186 if private_iface "$iface"; then 681 *) cmd="$OPT"; iface="$OPTARG";; 685 args="$iface${iface:+ }$*" 722 make_vars "$iface" 728 if [ -z "$iface" ]; the [all...] |
/freebsd-current/contrib/wpa/wpa_supplicant/dbus/ |
H A D | dbus_new.c | 135 struct wpas_dbus_priv *iface; local 139 iface = wpa_s->global->dbus; 142 if (iface == NULL || !wpa_s->dbus_new_path) 155 iface, wpa_s->dbus_new_path, 159 dbus_connection_send(iface->con, msg, NULL); 198 struct wpas_dbus_priv *iface; local 202 iface = wpa_s->global->dbus; 205 if (iface == NULL || !wpa_s->dbus_new_path) 217 dbus_connection_send(iface->con, msg, NULL); 237 struct wpas_dbus_priv *iface; local 306 struct wpas_dbus_priv *iface; local 371 struct wpas_dbus_priv *iface; local 463 struct wpas_dbus_priv *iface; local 540 struct wpas_dbus_priv *iface; local 578 struct wpas_dbus_priv *iface; local 619 struct wpas_dbus_priv *iface; local 665 struct wpas_dbus_priv *iface; local 729 struct wpas_dbus_priv *iface; local 808 struct wpas_dbus_priv *iface; local 841 struct wpas_dbus_priv *iface; local 875 struct wpas_dbus_priv *iface; local 907 struct wpas_dbus_priv *iface; local 951 struct wpas_dbus_priv *iface; local 1006 struct wpas_dbus_priv *iface; local 1036 struct wpas_dbus_priv *iface; local 1077 struct wpas_dbus_priv *iface; local 1116 struct wpas_dbus_priv *iface; local 1189 struct wpas_dbus_priv *iface; local 1261 struct wpas_dbus_priv *iface = wpa_s->global->dbus; local 1326 struct wpas_dbus_priv *iface; local 1432 struct wpas_dbus_priv *iface; local 1574 struct wpas_dbus_priv *iface; local 1641 struct wpas_dbus_priv *iface; local 1755 struct wpas_dbus_priv *iface; local 1803 struct wpas_dbus_priv *iface; local 1860 struct wpas_dbus_priv *iface; local 1926 struct wpas_dbus_priv *iface; local 1994 struct wpas_dbus_priv *iface; local 2055 struct wpas_dbus_priv *iface; local 2143 struct wpas_dbus_priv *iface; local 2190 struct wpas_dbus_priv *iface; local 2234 struct wpas_dbus_priv *iface; local 4554 struct wpas_dbus_priv *iface; local 4740 struct wpas_dbus_priv *iface; local [all...] |
H A D | dbus_new_helpers.h | 115 int wpa_dbus_ctrl_iface_init(struct wpas_dbus_priv *iface, char *dbus_path, 128 dbus_bool_t wpa_dbus_get_object_properties(struct wpas_dbus_priv *iface, 139 void wpa_dbus_mark_property_changed(struct wpas_dbus_priv *iface,
|
/freebsd-current/tests/sys/netinet6/frag6/ |
H A D | frag6_14.py | 98 sp.sendp(ip6f01, iface=args.sendif[0], verbose=False) 99 sp.sendp(ip6f02, iface=args.sendif[0], verbose=False) 100 sp.sendp(ip6f03, iface=args.sendif[0], verbose=False) 101 sp.sendp(ip6f04, iface=args.sendif[0], verbose=False) 130 sp.sendp(ip6f01, iface=args.sendif[0], verbose=False) 131 sp.sendp(ip6f02, iface=args.sendif[0], verbose=False)
|
H A D | frag6_13.py | 86 sp.sendp(ip6f01, iface=args.sendif[0], verbose=False) 87 sp.sendp(ip6f02, iface=args.sendif[0], verbose=False) 115 sp.sendp(ip6f01, iface=args.sendif[0], verbose=False) 116 sp.sendp(ip6f02, iface=args.sendif[0], verbose=False)
|
/freebsd-current/sys/dev/usb/ |
H A D | usb_hid.c | 116 struct usb_interface *iface = usbd_get_iface(udev, iface_index); local 120 if ((iface == NULL) || (iface->idesc == NULL)) { 124 (usbd_get_config_descriptor(udev), iface->idesc);
|
/freebsd-current/tests/atf_python/sys/net/ |
H A D | vnet.py | 101 raise Exception("Unable to create iface {}".format(iface_name)) 173 for iface in ifaces: 174 if not self.is_autodeleted(iface.name): 175 self._register_iface(iface.name) 214 self.iface_alias_map = {} # iface.alias: iface 215 self.iface_map = {} # iface.name: iface 216 for iface in ifaces: 217 iface [all...] |
/freebsd-current/contrib/wpa/src/wps/ |
H A D | wps_upnp.c | 563 struct upnp_wps_device_interface *iface; local 567 dl_list_for_each(iface, &s->sm->interfaces, 569 upnp_er_remove_notification(iface->wps->registrar, s); 1108 struct upnp_wps_device_interface *iface; local 1109 dl_list_for_each(iface, &sm->interfaces, 1111 if (iface->priv == priv) 1112 return iface; 1125 struct upnp_wps_device_interface *iface; local 1131 iface = upnp_wps_get_iface(sm, priv); 1132 if (iface 1180 struct upnp_wps_device_interface *iface; local 1244 struct upnp_wps_device_interface *iface; local [all...] |
/freebsd-current/sbin/dhclient/ |
H A D | dispatch.c | 75 discover_interfaces(struct interface_info *iface) argument 90 if (strcmp(iface->name, ifa->ifa_name)) 115 iface->index = foo->sdl_index; 116 iface->hw_address.hlen = foo->sdl_alen; 117 iface->hw_address.htype = HTYPE_ETHER; /* XXX */ 118 memcpy(iface->hw_address.haddr, 121 if (!iface->ifp) { 125 iface->ifp = tif; 130 if (!iface->ifp) 131 error("%s: not found", iface [all...] |
/freebsd-current/contrib/wpa/wpa_supplicant/examples/ |
H A D | dbus-listen-preq.py | 58 iface = dbus.Interface(if_obj, WPAS_DBUS_INTERFACES_INTERFACE) variable 64 iface.SubscribeProbeReq()
|
/freebsd-current/share/examples/netgraph/ |
H A D | frame_relay | 28 ngctl mkpeer ${CARD}:rawdata.dlci${DLCI} iface inet inet 45 # ngctl mkpeer protomux: iface inet inet
|
H A D | udp.tunnel | 29 ngctl mkpeer iface dummy inet
|