| /freebsd/sys/net/ |
| H A D | if.c | 366 struct ifnet *ifp; in ifnet_byindex() local 384 struct ifnet *ifp; in ifnet_byindex_ref() local 397 struct ifnet *ifp; in ifnet_byindexgen() local 439 if_link_ifnet(struct ifnet *ifp) in if_link_ifnet() 451 if_unlink_ifnet(struct ifnet *ifp, bool vmove) in if_unlink_ifnet() 477 struct ifnet *ifp, *nifp; in vnet_if_return() local 531 struct ifnet *ifp; in if_alloc_domain() local 632 struct ifnet *ifp = __containerof(ctx, struct ifnet, if_epoch_ctx); in if_free_deferred() local 660 if_free(struct ifnet *ifp) in if_free() 694 if_ref(struct ifnet *ifp) in if_ref() [all …]
|
| H A D | if_dead.c | 45 ifdead_output(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *sa, in ifdead_output() 54 ifdead_input(struct ifnet *ifp, struct mbuf *m) in ifdead_input() 61 ifdead_start(struct ifnet *ifp) in ifdead_start() 67 ifdead_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data) in ifdead_ioctl() 74 ifdead_resolvemulti(struct ifnet *ifp, struct sockaddr **llsa, in ifdead_resolvemulti() 83 ifdead_qflush(struct ifnet *ifp) in ifdead_qflush() 89 ifdead_transmit(struct ifnet *ifp, struct mbuf *m) in ifdead_transmit() 97 ifdead_get_counter(struct ifnet *ifp, ift_counter cnt) in ifdead_get_counter() 104 ifdead_snd_tag_alloc(struct ifnet *ifp, union if_snd_tag_alloc_params *params, in ifdead_snd_tag_alloc() 128 if_dead(struct ifnet *ifp) in if_dead()
|
| H A D | ifq.c | 45 drbr_enqueue(struct ifnet *ifp, struct buf_ring *br, struct mbuf *m) in drbr_enqueue() 63 drbr_putback(struct ifnet *ifp, struct buf_ring *br, struct mbuf *m_new) in drbr_putback() 81 drbr_peek(struct ifnet *ifp, struct buf_ring *br) in drbr_peek() 98 drbr_flush(struct ifnet *ifp, struct buf_ring *br) in drbr_flush() 109 drbr_dequeue(struct ifnet *ifp, struct buf_ring *br) in drbr_dequeue() 121 drbr_advance(struct ifnet *ifp, struct buf_ring *br) in drbr_advance() 130 drbr_dequeue_cond(struct ifnet *ifp, struct buf_ring *br, in drbr_dequeue_cond() 153 drbr_empty(struct ifnet *ifp, struct buf_ring *br) in drbr_empty() 161 drbr_needs_enqueue(struct ifnet *ifp, struct buf_ring *br) in drbr_needs_enqueue() 169 drbr_inuse(struct ifnet *ifp, struct buf_ring *br) in drbr_inuse()
|
| H A D | if_vlan.c | 94 #define UP_AND_RUNNING(ifp) \ argument 624 vlan_setmulti(struct ifnet *ifp) in vlan_setmulti() 680 vlan_ifevent(void *arg __unused, struct ifnet *ifp, int event) in vlan_ifevent() 710 vlan_iflladdr(void *arg __unused, struct ifnet *ifp) in vlan_iflladdr() 759 vlan_ifdetach(void *arg __unused, struct ifnet *ifp) in vlan_ifdetach() 792 vlan_trunkdev(struct ifnet *ifp) in vlan_trunkdev() 816 vlan_tag(struct ifnet *ifp, uint16_t *vidp) in vlan_tag() 828 vlan_pcp(struct ifnet *ifp, uint16_t *pcpp) in vlan_pcp() 844 vlan_cookie(struct ifnet *ifp) in vlan_cookie() 859 vlan_setcookie(struct ifnet *ifp, void *cookie) in vlan_setcookie() [all …]
|
| /freebsd/sbin/routed/ |
| H A D | if.c | 95 if_link(struct interface *ifp) in if_link() 138 struct interface *ifp, *possible = NULL; in ifwithaddr() local 175 struct interface *ifp; in ifwithname() local 203 struct interface *ifp; in ifwithindex() local 229 struct interface *ifp, *maybe; in iflookup() local 289 struct interface *ifp) /* as seen on this interface */ in ripv1_mask_net() 340 struct interface *ifp) /* as seen on this interface */ in ripv1_mask_host() 381 struct interface *ifp; in check_dup() local 409 check_remote(struct interface *ifp) in check_remote() 439 ifdel(struct interface *ifp) in ifdel() [all …]
|
| /freebsd/sys/netinet6/ |
| H A D | in6_ifattach.c | 120 get_rand_ifid(struct ifnet *ifp, struct in6_addr *in6) in get_rand_ifid() 163 get_interface_link_level(struct ifnet *ifp) in get_interface_link_level() 189 in6_get_interface_hwaddr(struct ifnet *ifp, size_t *len) in in6_get_interface_hwaddr() 261 in6_get_hw_ifid(struct ifnet *ifp, struct in6_addr *in6) in in6_get_hw_ifid() 341 in6_get_stableifid(struct ifnet *ifp, struct in6_addr *in6, int prefixlen) in in6_get_stableifid() 461 struct ifnet *ifp; in in6_get_ifid() local 528 in6_ifattach_linklocal(struct ifnet *ifp, struct ifnet *altifp) in in6_ifattach_linklocal() 645 in6_ifattach_loopback(struct ifnet *ifp) in in6_ifattach_loopback() 688 in6_nigroup0(struct ifnet *ifp, const char *name, int namelen, in in6_nigroup0() 759 in6_nigroup(struct ifnet *ifp, const char *name, int namelen, in in6_nigroup() [all …]
|
| H A D | scope6.c | 76 #define SID(ifp) \ argument 95 scope6_ifattach(struct ifnet *ifp) in scope6_ifattach() 117 scope6_ioctl(u_long cmd, caddr_t data, struct ifnet *ifp) in scope6_ioctl() 141 scope6_set(struct ifnet *ifp, struct scope6_id *idlist) in scope6_set() 210 scope6_get(struct ifnet *ifp, struct scope6_id *idlist) in scope6_get() 258 scope6_setdefault(struct ifnet *ifp) in scope6_setdefault() 404 in6_setscope(struct in6_addr *in6, struct ifnet *ifp, u_int32_t *ret_id) in in6_setscope() 486 in6_get_unicast_scopeid(const struct in6_addr *in6, const struct ifnet *ifp) in in6_get_unicast_scopeid() 508 struct ifnet *ifp; in in6_getlinkifnet() local 531 in6_getscopezone(const struct ifnet *ifp, int scope) in in6_getscopezone() [all …]
|
| H A D | nd6.c | 177 struct ifnet *ifp; in nd6_lle_event() local 226 nd6_iflladdr(void *arg __unused, struct ifnet *ifp) in nd6_iflladdr() 281 nd6_ifattach(struct ifnet *ifp) in nd6_ifattach() 336 nd6_ifdetach(struct ifnet *ifp, struct nd_ifinfo *nd) in nd6_ifdetach() 359 nd6_setmtu(struct ifnet *ifp) in nd6_setmtu() 369 nd6_setmtu0(struct ifnet *ifp, struct nd_ifinfo *ndi) in nd6_setmtu0() 706 struct ifnet *ifp; in nd6_llinfo_setstate() local 757 struct ifnet *ifp; in nd6_llinfo_timer() local 941 struct ifnet *ifp; in nd6_timer() local 1101 struct ifnet *ifp; in regen_tmpaddr() local [all …]
|
| H A D | in6.c | 266 struct ifnet *ifp, struct ucred *cred) in in6_control_ioctl() 620 struct ifnet *ifp, struct thread *td) in in6_control() 626 in6_joingroup_legacy(struct ifnet *ifp, const struct in6_addr *mcaddr, in in6_joingroup_legacy() 652 struct ifnet *ifp, const struct in6_addr *base) in in6_solicited_node_maddr() 674 in6_update_ifa_join_mc(struct ifnet *ifp, struct in6_aliasreq *ifra, in in6_update_ifa_join_mc() 787 in6_update_ifa(struct ifnet *ifp, struct in6_aliasreq *ifra, in in6_update_ifa() 838 in6_validate_ifra(struct ifnet *ifp, struct in6_aliasreq *ifra, in in6_validate_ifra() 981 in6_alloc_ifa(struct ifnet *ifp, struct in6_aliasreq *ifra, int flags) in in6_alloc_ifa() 1043 in6_update_ifa_internal(struct ifnet *ifp, struct in6_aliasreq *ifra, in in6_update_ifa_internal() 1111 in6_broadcast_ifa(struct ifnet *ifp, struct in6_aliasreq *ifra, in in6_broadcast_ifa() [all …]
|
| /freebsd/sys/dev/liquidio/ |
| H A D | lio_ioctl.c | 65 lio_change_dev_flags(if_t ifp) in lio_change_dev_flags() 96 lio_ioctl(if_t ifp, u_long cmd, caddr_t data) in lio_ioctl() 213 lio_set_tso4(if_t ifp) in lio_set_tso4() 232 lio_set_tso6(if_t ifp) in lio_set_tso6() 251 lio_set_rx_csum(if_t ifp, uint32_t data) in lio_set_rx_csum() 278 lio_set_lro(if_t ifp) in lio_set_lro() 340 lio_change_mtu(if_t ifp, int new_mtu) in lio_change_mtu() 423 lio_set_mac(if_t ifp, uint8_t *p) in lio_set_mac() 467 lio_get_new_flags(if_t ifp) in lio_get_new_flags() 511 lio_set_mcast_list(if_t ifp) in lio_set_mcast_list()
|
| /freebsd/sys/compat/linsysfs/ |
| H A D | linsysfs_net.c | 56 if_t ifp; member 88 if_t ifp; in linsysfs_if_addr() local 117 if_t ifp; in linsysfs_if_flags() local 136 if_t ifp; in linsysfs_if_ifindex() local 155 if_t ifp; in linsysfs_if_mtu() local 184 if_t ifp; in linsysfs_if_type() local 204 if_t ifp; in linsysfs_if_visible() local 225 linsysfs_net_addif(if_t ifp, void *arg) in linsysfs_net_addif() 274 linsysfs_net_delif(if_t ifp) in linsysfs_net_delif() 298 linsysfs_if_arrival(void *arg __unused, if_t ifp) in linsysfs_if_arrival() [all …]
|
| /freebsd/sys/netgraph/ |
| H A D | ng_eiface.c | 82 struct ifnet *ifp; /* per-interface network data */ member 134 ng_eiface_ioctl(struct ifnet *ifp, u_long command, caddr_t data) in ng_eiface_ioctl() 204 struct ifnet *ifp = sc->ifp; in ng_eiface_init() local 218 struct ifnet *ifp = arg1; in ng_eiface_start2() local 291 ng_eiface_start(struct ifnet *ifp) in ng_eiface_start() 311 ng_eiface_print_ioctl(struct ifnet *ifp, int command, caddr_t data) in ng_eiface_print_ioctl() 344 ng_eiface_mediachange(struct ifnet *ifp) in ng_eiface_mediachange() 360 ng_eiface_mediastatus(struct ifnet *ifp, struct ifmediareq *ifmr) in ng_eiface_mediastatus() 385 struct ifnet *ifp; in ng_eiface_constructor() local 447 struct ifnet *ifp = priv->ifp; in ng_eiface_newhook() local [all …]
|
| H A D | ng_ether.c | 76 #define IFP2NG(ifp) ((ifp)->if_l2com) argument 80 struct ifnet *ifp; /* associated interface */ member 245 ng_ether_input(struct ifnet *ifp, struct mbuf **mp) in ng_ether_input() 262 ng_ether_input_orphan(struct ifnet *ifp, struct mbuf *m) in ng_ether_input_orphan() 281 ng_ether_output(struct ifnet *ifp, struct mbuf **mp) in ng_ether_output() 303 ng_ether_attach(struct ifnet *ifp) in ng_ether_attach() 353 ng_ether_detach(struct ifnet *ifp) in ng_ether_detach() 375 ng_ether_link_state(struct ifnet *ifp, int state) in ng_ether_link_state() 410 ng_ether_ifnet_arrival_event(void *arg __unused, struct ifnet *ifp) in ng_ether_ifnet_arrival_event() 669 struct ifnet *const ifp = priv->ifp; in ng_ether_rcv_lower() local [all …]
|
| /freebsd/sys/netpfil/ipfw/ |
| H A D | ip_fw_bpf.c | 61 ipfw_bpf_ioctl(struct ifnet *ifp, u_long cmd, caddr_t addr) in ipfw_bpf_ioctl() 68 ipfw_bpf_output(struct ifnet *ifp, struct mbuf *m, in ipfw_bpf_output() 78 ipfw_clone_destroy(struct ifnet *ifp) in ipfw_clone_destroy() 95 struct ifnet *ifp; in ipfw_clone_create() local 119 struct ifnet *ifp; in ipfwlog_clone_create() local 143 struct ifnet *ifp = V_log_if; in ipfw_bpf_tap() local 153 struct ifnet *ifp = V_log_if; in ipfw_bpf_mtap() local
|
| /freebsd/sys/dev/le/ |
| H A D | lance.c | 103 if_t ifp; in lance_config() local 186 if_t ifp = sc->sc_ifp; in lance_attach() local 203 if_t ifp = sc->sc_ifp; in lance_detach() local 233 lance_start(if_t ifp) in lance_start() 245 if_t ifp = sc->sc_ifp; in lance_stop() local 276 if_t ifp = sc->sc_ifp; in lance_init_locked() local 375 if_t ifp = sc->sc_ifp; in lance_get() local 434 if_t ifp = sc->sc_ifp; in lance_watchdog() local 449 lance_mediachange(if_t ifp) in lance_mediachange() 472 lance_mediastatus(if_t ifp, struct ifmediareq *ifmr) in lance_mediastatus() [all …]
|
| H A D | am7990.c | 145 if_t ifp = sc->sc_ifp; in am7990_meminit() local 209 if_t ifp = sc->sc_ifp; in am7990_rint() local 305 if_t ifp = sc->sc_ifp; in am7990_tint() local 388 if_t ifp = sc->sc_ifp; in am7990_intr() local 492 if_t ifp = sc->sc_ifp; in am7990_start_locked() local 574 if_t ifp = sc->sc_ifp; in am7990_recv_print() local 597 if_t ifp = sc->sc_ifp; in am7990_xmit_print() local
|
| /freebsd/sys/dev/usb/net/ |
| H A D | usb_ethernet.c | 206 if_t ifp; in ue_attach_post_task() local 294 if_t ifp; in uether_ifdetach() local 370 if_t ifp = ue->ue_ifp; in ue_start_task() local 398 uether_start(if_t ifp) in uether_start() 405 ue_start(if_t ifp) in ue_start() 438 uether_ifmedia_upd(if_t ifp) in uether_ifmedia_upd() 445 ue_ifmedia_upd(if_t ifp) in ue_ifmedia_upd() 465 if_t ifp = ue->ue_ifp; in ue_ifmedia_task() local 474 if_t ifp = ue->ue_ifp; in ue_watchdog() local 492 if_t ifp = ue->ue_ifp; in ue_tick_task() local [all …]
|
| /freebsd/contrib/bsnmp/snmp_mibII/ |
| H A D | mibII.c | 145 struct mibif *ifp; in mib_find_if() local 156 struct mibif *ifp; in mib_find_if_sys() local 167 struct mibif *ifp; in mib_find_if_name() local 252 mib_next_if(const struct mibif *ifp) in mib_next_if() 261 mib_if_admin(struct mibif *ifp, int up) in mib_if_admin() 288 link_trap(struct mibif *ifp, int up) in link_trap() 305 fetch_generic_mib(struct mibif *ifp, const struct ifmibdata *old) in fetch_generic_mib() 367 struct mibif *ifp; in update_hc_counters() local 437 mib_fetch_ifmib(struct mibif *ifp) in mib_fetch_ifmib() 587 mib_first_ififa(const struct mibif *ifp) in mib_first_ififa() [all …]
|
| /freebsd/sys/dev/firewire/ |
| H A D | if_fwe.c | 99 fwe_poll(if_t ifp, enum poll_cmd cmd, int count) in fwe_poll() 138 if_t ifp; in fwe_attach() local 208 if_t ifp = fwe->eth_softc.ifp; in fwe_stop() local 246 if_t ifp; in fwe_detach() local 272 if_t ifp = fwe->eth_softc.ifp; in fwe_init() local 347 fwe_ioctl(if_t ifp, u_long cmd, caddr_t data) in fwe_ioctl() 419 if_t ifp; in fwe_output_callback() local 443 fwe_start(if_t ifp) in fwe_start() 483 fwe_as_output(struct fwe_softc *fwe, if_t ifp) in fwe_as_output() 547 if_t ifp; in fwe_as_input() local
|
| /freebsd/sys/dev/dwc/ |
| H A D | if_dwc.c | 94 dwc_media_status(if_t ifp, struct ifmediareq *ifmr) in dwc_media_status() 116 dwc_media_change(if_t ifp) in dwc_media_change() 136 if_t ifp; in dwc_txstart_locked() local 152 dwc_txstart(if_t ifp) in dwc_txstart() 164 if_t ifp = sc->ifp; in dwc_init_locked() local 201 if_t ifp; in dwc_stop_locked() local 217 dwc_ioctl(if_t ifp, u_long cmd, caddr_t data) in dwc_ioctl() 318 if_t ifp; in dwc_tick() local 497 if_t ifp; in dwc_attach() local
|
| /freebsd/sys/dev/cxgbe/ |
| H A D | t4_tracer.c | 140 if_t ifp; t4_cloner_create() local 198 t4_cloner_destroy(struct if_clone * ifc,if_t ifp) t4_cloner_destroy() argument 409 if_t ifp; t4_trace_pkt() local 431 if_t ifp; t5_trace_pkt() local 458 tracer_ioctl(if_t ifp,unsigned long cmd,caddr_t data) tracer_ioctl() argument 490 tracer_transmit(if_t ifp,struct mbuf * m) tracer_transmit() argument 498 tracer_qflush(if_t ifp) tracer_qflush() argument 505 tracer_media_change(if_t ifp) tracer_media_change() argument 512 tracer_media_status(if_t ifp,struct ifmediareq * ifmr) tracer_media_status() argument [all...] |
| /freebsd/sys/dev/my/ |
| H A D | if_my.c | 319 if_t ifp; in my_setmulti() local 390 if_t ifp; in my_autoneg_mii() local 555 if_t ifp; in my_getmode_mii() local 795 if_t ifp; in my_attach() local 973 if_t ifp; in my_detach() local 1093 if_t ifp; in my_rxeof() local 1174 if_t ifp; in my_txeof() local 1227 if_t ifp; in my_txeoc() local 1251 if_t ifp; in my_intr() local 1368 my_start(if_t ifp) in my_start() [all …]
|
| /freebsd/sys/netinet/ |
| H A D | if_ether.c | 207 struct ifnet *ifp; in arptimer() local 317 arp_fillheader(struct ifnet *ifp, struct arphdr *ah, int bcast, u_char *buf, in arp_fillheader() 347 arprequest_internal(struct ifnet *ifp, const struct in_addr *sip, in arprequest_internal() 442 arprequest(struct ifnet *ifp, const struct in_addr *sip, in arprequest() 461 arpresolve_full(struct ifnet *ifp, int is_gw, int flags, struct mbuf *m, in arpresolve_full() 598 arpresolve(struct ifnet *ifp, int is_gw, struct mbuf *m, in arpresolve() 655 struct ifnet *ifp; in arpintr() local 770 struct ifnet *ifp = m->m_pkthdr.rcvif; in in_arpinput() local 853 #define BDG_MEMBER_MATCHES_ARP(addr, ifp, ia) \ in in_arpinput() argument 1141 arp_flush_holdchain(struct ifnet *ifp, struct llentry *la, struct mbuf *chain) in arp_flush_holdchain() [all …]
|
| /freebsd/sys/dev/lge/ |
| H A D | if_lge.c | 369 if_t ifp; in lge_setmulti() local 450 if_t ifp = NULL; in lge_attach() local 573 if_t ifp; in lge_detach() local 851 if_t ifp; in lge_rxeof() local 932 if_t ifp; in lge_rxeoc() local 949 if_t ifp; in lge_txeof() local 992 if_t ifp; in lge_tick() local 1029 if_t ifp; in lge_intr() local 1133 lge_start(if_t ifp) in lge_start() 1144 lge_start_locked(if_t ifp) in lge_start_locked() [all …]
|
| /freebsd/sys/netipsec/ |
| H A D | ipsec_offload.c | 90 struct ifnet *ifp; member 110 struct ifnet *ifp; member 264 ipsec_accel_sa_install_match(if_t ifp, void *arg) in ipsec_accel_sa_install_match() 277 ipsec_accel_sa_newkey_cb(if_t ifp, void *arg) in ipsec_accel_sa_newkey_cb() 404 ipsec_accel_handle_sav(struct secasvar *sav, struct ifnet *ifp, in ipsec_accel_handle_sav() 451 struct ifnet *ifp; in ipsec_accel_forget_handle_sav() local 531 ipsec_accel_on_ifdown_sav(struct ifnet *ifp) in ipsec_accel_on_ifdown_sav() 558 ipsec_accel_is_accel_sav_ptr_raw(struct secasvar *sav, struct ifnet *ifp) in ipsec_accel_is_accel_sav_ptr_raw() 572 ipsec_accel_is_accel_sav_ptr(struct secasvar *sav, struct ifnet *ifp) in ipsec_accel_is_accel_sav_ptr() 596 ipsec_accel_find_accel_sp(struct secpolicy *sp, if_t ifp) in ipsec_accel_find_accel_sp() [all …]
|