/dflybsd-src/contrib/dhcpcd/src/ |
H A D | ipv4ll.c | 61 ipv4ll_pickaddr(struct interface *ifp) in ipv4ll_pickaddr() 93 ipv4ll_subnetroute(rb_tree_t *routes, struct interface *ifp) in ipv4ll_subnetroute() 119 ipv4ll_defaultroute(rb_tree_t *routes, struct interface *ifp) in ipv4ll_defaultroute() 146 ipv4ll_env(FILE *fp, const char *prefix, const struct interface *ifp) in ipv4ll_env() 201 ipv4ll_freearp(struct interface *ifp) in ipv4ll_freearp() 214 #define ipv4ll_freearp(ifp) argument 218 ipv4ll_not_found(struct interface *ifp) in ipv4ll_not_found() 266 ipv4ll_found(struct interface *ifp) in ipv4ll_found() 282 ipv4ll_defend_failed(struct interface *ifp) in ipv4ll_defend_failed() 322 struct interface *ifp = arg; in ipv4ll_start() local [all …]
|
H A D | dhcpcd.c | 203 struct interface *ifp; in handle_exit_timeout() local 233 dhcpcd_ifafwaiting(const struct interface *ifp) in dhcpcd_ifafwaiting() 277 const struct interface *ifp; in dhcpcd_afwaiting() local 312 struct interface *ifp; in dhcpcd_ipwaited() local 404 dhcpcd_drop_af(struct interface *ifp, int stop, int af) in dhcpcd_drop_af() 435 dhcpcd_drop(struct interface *ifp, int stop) in dhcpcd_drop() 442 stop_interface(struct interface *ifp, const char *reason) in stop_interface() 465 configure_interface1(struct interface *ifp) in configure_interface1() 610 dhcpcd_selectprofile(struct interface *ifp, const char *profile) in dhcpcd_selectprofile() 648 configure_interface(struct interface *ifp, int argc, char **argv, in configure_interface() [all …]
|
H A D | ipv4.c | 123 ipv4_iffindaddr(struct interface *ifp, in ipv4_iffindaddr() 141 ipv4_iffindlladdr(struct interface *ifp) in ipv4_iffindlladdr() 157 ipv4_iffindmaskaddr(struct interface *ifp, const struct in_addr *addr) in ipv4_iffindmaskaddr() 174 ipv4_iffindmaskbrd(struct interface *ifp, const struct in_addr *addr) in ipv4_iffindmaskbrd() 193 struct interface *ifp; in ipv4_findaddr() local 207 struct interface *ifp; in ipv4_findmaskaddr() local 221 struct interface *ifp; in ipv4_findmaskbrd() local 233 ipv4_hasaddr(const struct interface *ifp) in ipv4_hasaddr() 284 inet_dhcproutes(rb_tree_t *routes, struct interface *ifp, bool *have_default) in inet_dhcproutes() 378 inet_routerhostroute(rb_tree_t *routes, struct interface *ifp) in inet_routerhostroute() [all …]
|
H A D | arp.c | 73 const struct interface *ifp = astate->iface; in arp_request() local 151 struct interface *ifp; in arp_found() local 209 arp_validate(const struct interface *ifp, struct arphdr *arp) in arp_validate() 237 arp_packet(struct interface *ifp, uint8_t *data, size_t len, in arp_packet() 338 struct interface *ifp = astate->iface; in arp_read() local 379 struct interface *ifp = astate->iface; in arp_probe1() local 411 arp_find(struct interface *ifp, const struct in_addr *addr) in arp_find() 444 struct interface *ifp = astate->iface; in arp_announce1() local 485 struct interface *ifp; in arp_announce() local 519 arp_ifannounceaddr(struct interface *ifp, const struct in_addr *ia) in arp_ifannounceaddr() [all …]
|
H A D | dhcp6.c | 224 dhcp6_makeuser(void *data, const struct interface *ifp) in dhcp6_makeuser() 266 dhcp6_makevendor(void *data, const struct interface *ifp) in dhcp6_makevendor() 418 dhcp6_updateelapsed(struct interface *ifp, struct dhcp6_message *m, size_t len) in dhcp6_updateelapsed() 464 dhcp6_newxid(const struct interface *ifp, struct dhcp6_message *m) in dhcp6_newxid() 511 dhcp6_findselfsla(struct interface *ifp) in dhcp6_findselfsla() 529 dhcp6_delegateaddr(struct in6_addr *addr, struct interface *ifp, in dhcp6_delegateaddr() 637 dhcp6_makemessage(struct interface *ifp) in dhcp6_makemessage() 1190 dhcp6_freedrop_addrs(struct interface *ifp, int drop, in dhcp6_freedrop_addrs() 1204 static void dhcp6_delete_delegates(struct interface *ifp) in dhcp6_delete_delegates() 1219 dhcp6_update_auth(struct interface *ifp, struct dhcp6_message *m, size_t len) in dhcp6_update_auth() [all …]
|
H A D | dhcp.c | 397 decode_rfc3442_rt(rb_tree_t *routes, struct interface *ifp, in decode_rfc3442_rt() 560 get_option_routes(rb_tree_t *routes, struct interface *ifp, in get_option_routes() 666 dhcp_get_mtu(const struct interface *ifp) in dhcp_get_mtu() 685 dhcp_get_routes(rb_tree_t *routes, struct interface *ifp) in dhcp_get_routes() 723 make_message(struct bootp **bootpm, const struct interface *ifp, uint8_t type) in make_message() 1131 read_lease(struct interface *ifp, struct bootp **bootp) in read_lease() 1267 dhcp_env(FILE *fenv, const char *prefix, const struct interface *ifp, in dhcp_env() 1389 get_lease(struct interface *ifp, in get_lease() 1461 dhcp_new_xid(struct interface *ifp) in dhcp_new_xid() 1510 dhcp_closebpf(struct interface *ifp) in dhcp_closebpf() [all …]
|
H A D | ipv6.c | 107 #define CAN_ADD_LLADDR(ifp) \ argument 113 #define CAN_DROP_LLADDR(ifp) (0) argument 115 #define CAN_DROP_LLADDR(ifp) (1) argument 120 #define CAN_ADD_LLADDR(ifp) (0) argument 121 #define CAN_DROP_LLADDR(ifp) (0) argument 313 const struct interface *ifp, in ipv6_makestableprivate() 337 const struct interface *ifp) in ipv6_maketemporaryaddress() 437 ipv6_makeaddr(struct in6_addr *addr, struct interface *ifp, in ipv6_makeaddr() 665 struct interface *ifp; in ipv6_addaddr1() local 1096 ipv6_getstate(struct interface *ifp) in ipv6_getstate() [all …]
|
H A D | privsep-bpf.c | 193 struct interface *ifp; in ps_bpf_cmd() local 283 struct interface *ifp; in ps_bpf_dispatch() local 321 ps_bpf_send(const struct interface *ifp, const struct in_addr *ia, in ps_bpf_send() 341 ps_bpf_openarp(const struct interface *ifp, const struct in_addr *ia) in ps_bpf_openarp() 350 ps_bpf_closearp(const struct interface *ifp, const struct in_addr *ia) in ps_bpf_closearp() 357 ps_bpf_sendarp(const struct interface *ifp, const struct in_addr *ia, in ps_bpf_sendarp() 367 ps_bpf_openbootp(const struct interface *ifp) in ps_bpf_openbootp() 375 ps_bpf_closebootp(const struct interface *ifp) in ps_bpf_closebootp() 382 ps_bpf_sendbootp(const struct interface *ifp, const void *data, size_t len) in ps_bpf_sendbootp()
|
H A D | if.c | 82 if_free(struct interface *ifp) in if_free() 161 if_getflags(struct interface *ifp) in if_getflags() 173 if_setflag(struct interface *ifp, short setflag, short unsetflag) in if_setflag() 198 if_is_link_up(const struct interface *ifp) in if_is_link_up() 207 if_randomisemac(struct interface *ifp) in if_randomisemac() 262 struct interface *ifp; in if_markaddrsstale() local 279 struct interface *ifp; in if_learnaddrs() local 382 struct interface *ifp; in if_deletestaleaddrs() local 414 if_check_arphrd(struct interface *ifp, unsigned int active, bool if_noconf) in if_check_arphrd() 458 struct interface *ifp; in if_discover() local [all …]
|
/dflybsd-src/sbin/routed/ |
H A D | if.c | 92 if_link(struct interface *ifp) in if_link() 144 struct interface *ifp, *possible = NULL; in ifwithaddr() local 181 struct interface *ifp; in ifwithname() local 208 struct interface *ifp; in ifwithindex() local 234 struct interface *ifp, *maybe; in iflookup() local 293 struct interface *ifp) /* as seen on this interface */ in ripv1_mask_net() 344 struct interface *ifp) /* as seen on this interface */ in ripv1_mask_host() 385 struct interface *ifp; in check_dup() local 412 check_remote(struct interface *ifp) in check_remote() 442 ifdel(struct interface *ifp) in ifdel() [all …]
|
H A D | rdisc.c | 90 #define PREF(p, ifp) ((int)(p) <= (ifp)->int_metric ? ((p) != 0 ? 1 : 0) \ argument 102 struct interface *ifp, in trace_rdisc() 159 set_rdisc_mg(struct interface *ifp, in set_rdisc_mg() 246 struct interface *ifp; in set_supplier() local 354 if_bad_rdisc(struct interface *ifp) in if_bad_rdisc() 374 if_ok_rdisc(struct interface *ifp) in if_ok_rdisc() 392 struct interface *ifp; in del_rdisc() local 444 struct interface *ifp; in rdisc_sort() local 561 struct interface *ifp) in parse_ad() 682 struct interface *ifp, in send_rdisc() [all …]
|
/dflybsd-src/sys/dev/netif/sln/ |
H A D | if_sln.c | 184 struct ifnet *ifp = &sc->arpcom.ac_if; in sln_attach() local 280 struct ifnet *ifp = &sc->arpcom.ac_if; in sln_stop() local 315 struct ifnet *ifp = &sc->arpcom.ac_if; in sln_detach() local 335 sln_media_upd(struct ifnet *ifp) in sln_media_upd() 350 sln_media_stat(struct ifnet *ifp, struct ifmediareq *ifmr) in sln_media_stat() 501 struct ifnet *ifp = &sc->arpcom.ac_if; in sln_mac_cfg() local 587 struct ifnet *ifp = &sc->arpcom.ac_if; in sln_set_multi() local 664 struct ifnet *ifp = &sc->arpcom.ac_if; in sln_init() local 729 sln_tx(struct ifnet *ifp, struct ifaltq_subque *ifsq) in sln_tx() 813 struct ifnet *ifp = &sc->arpcom.ac_if; in sln_rx() local [all …]
|
/dflybsd-src/sys/net/ |
H A D | if.c | 94 struct ifnet *ifp; member 350 struct ifnet *ifp = ifsq_get_ifp(ifsq); in ifsq_ifstart_dispatch() local 392 struct ifnet *ifp = ifsq_get_ifp(ifsq); in ifsq_devstart() local 421 if_devstart(struct ifnet *ifp) in if_devstart() 434 if_devstart_sched(struct ifnet *ifp) in if_devstart_sched() 440 if_default_serialize(struct ifnet *ifp, enum ifnet_serialize slz __unused) in if_default_serialize() 446 if_default_deserialize(struct ifnet *ifp, enum ifnet_serialize slz __unused) in if_default_deserialize() 452 if_default_tryserialize(struct ifnet *ifp, enum ifnet_serialize slz __unused) in if_default_tryserialize() 459 if_default_serialize_assert(struct ifnet *ifp, in if_default_serialize_assert() 476 if_attach(struct ifnet *ifp, lwkt_serialize_t serializer) in if_attach() [all …]
|
/dflybsd-src/sys/netgraph7/eiface/ |
H A D | ng_eiface.c | 76 struct ifnet *ifp; /* per-interface network data */ member 126 ng_eiface_ioctl(struct ifnet *ifp, u_long command, caddr_t data, struct ucred *cr) in ng_eiface_ioctl() 193 struct ifnet *ifp = sc->ifp; in ng_eiface_init() local 212 struct ifnet *ifp = arg1; in ng_eiface_start2() local 278 ng_eiface_start(struct ifnet *ifp, struct ifaltq_subque *ifsq __unused) in ng_eiface_start() 299 ng_eiface_print_ioctl(struct ifnet *ifp, int command, caddr_t data) in ng_eiface_print_ioctl() 338 struct ifnet *ifp; in ng_eiface_constructor() local 397 struct ifnet *ifp = priv->ifp; in ng_eiface_newhook() local 419 struct ifnet *const ifp = priv->ifp; in ng_eiface_rcvmsg() local 531 struct ifnet *const ifp = priv->ifp; in ng_eiface_rcvdata() local [all …]
|
/dflybsd-src/sys/bus/u4b/net/ |
H A D | usb_ethernet.c | 197 struct ifnet *ifp = uether_getifp(ue); in ue_attach_post_task() local 270 struct ifnet *ifp; in uether_ifdetach() local 337 struct ifnet *ifp = uether_getifp(ue); in ue_start_task() local 365 uether_start(struct ifnet *ifp, struct ifaltq_subque *ifsq) in uether_start() 372 ue_start(struct ifnet *ifp, struct ifaltq_subque *ifsq) in ue_start() 408 uether_ifmedia_upd(struct ifnet *ifp) in uether_ifmedia_upd() 415 ue_ifmedia_upd(struct ifnet *ifp) in ue_ifmedia_upd() 435 struct ifnet *ifp = uether_getifp(ue); in ue_ifmedia_task() local 444 struct ifnet *ifp = uether_getifp(ue); in ue_watchdog() local 462 struct ifnet *ifp = uether_getifp(ue); in ue_tick_task() local [all …]
|
/dflybsd-src/sys/netgraph7/ |
H A D | ng_fec.c | 136 #define IFP2NG(ifp) ((ifp)->if_afdata[AF_NETGRAPH]) argument 178 struct ifnet *ifp; member 353 struct ifnet *ifp, *bifp; in ng_fec_addport() local 464 struct ifnet *ifp, *bifp; in ng_fec_delport() local 528 struct ifnet *ifp = p->fec_if; in ng_fec_ether_cmdmulti() local 568 ng_fec_ether_setmulti(struct ifnet *ifp) in ng_fec_ether_setmulti() 592 ng_fec_setport(struct ifnet *ifp, u_long command, caddr_t data) in ng_fec_setport() 616 struct ifnet *ifp, *bifp; in ng_fec_init() local 649 ng_fec_stop(struct ifnet *ifp) in ng_fec_stop() 678 struct ifnet *ifp; in ng_fec_tick() local [all …]
|
/dflybsd-src/sys/netgraph7/ether/ |
H A D | ng_ether.c | 71 #define IFP2AC(ifp) ((struct arpcom *)ifp) argument 72 #define IFP2NG(ifp) (IFP2AC((ifp))->ac_netgraph) argument 76 struct ifnet *ifp; /* associated interface */ member 217 ng_ether_input(struct ifnet *ifp, struct mbuf **mp) in ng_ether_input() 236 ng_ether_input_orphan(struct ifnet *ifp, struct mbuf *m) in ng_ether_input_orphan() 255 ng_ether_output(struct ifnet *ifp, struct mbuf **mp) in ng_ether_output() 275 ng_ether_attach(struct ifnet *ifp) in ng_ether_attach() 314 ng_ether_detach(struct ifnet *ifp) in ng_ether_detach() 599 struct ifnet *const ifp = priv->ifp; in ng_ether_rcv_lower() local 643 struct ifnet *ifp = priv->ifp; in ng_ether_rcv_upper() local [all …]
|
/dflybsd-src/sys/netinet6/ |
H A D | scope6.c | 54 SID(struct ifnet *ifp) in SID() 71 scope6_ifattach(struct ifnet *ifp) in scope6_ifattach() 103 scope6_set(struct ifnet *ifp, struct scope6_id *idlist) in scope6_set() 163 scope6_get(struct ifnet *ifp, struct scope6_id *idlist) in scope6_get() 244 in6_addr2zoneid(struct ifnet *ifp, /* must not be NULL */ in in6_addr2zoneid() 304 scope6_setdefault(struct ifnet *ifp) /* note that this might be NULL */ in scope6_setdefault() 350 in6_setscope(struct in6_addr *in6, struct ifnet *ifp, u_int32_t *ret_id) in in6_setscope()
|
/dflybsd-src/sys/dev/netif/lnc/ |
H A D | lance.c | 109 struct ifnet *ifp; in lance_config() local 209 lance_start(struct ifnet *ifp, struct ifaltq_subque *ifsq) in lance_start() 220 struct ifnet *ifp = sc->ifp; in lance_stop() local 249 struct ifnet *ifp = sc->ifp; in lance_init_locked() local 336 struct ifnet *ifp = sc->ifp; in lance_get() local 383 lance_watchdog(struct ifnet *ifp) in lance_watchdog() 393 lance_mediachange(struct ifnet *ifp) in lance_mediachange() 406 lance_mediastatus(struct ifnet *ifp, struct ifmediareq *ifmr) in lance_mediastatus() 426 lance_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data, struct ucred *cr) in lance_ioctl() 510 struct ifnet *ifp = sc->ifp; in lance_setladrf() local
|
/dflybsd-src/sys/net/lagg/ |
H A D | if_lagg.c | 249 lagg_register_vlan(void *arg, struct ifnet *ifp, u_int16_t vtag) in lagg_register_vlan() 273 lagg_unregister_vlan(void *arg, struct ifnet *ifp, u_int16_t vtag) in lagg_unregister_vlan() 298 struct ifnet *ifp; in lagg_clone_create() local 410 lagg_clone_destroy(struct ifnet *ifp) in lagg_clone_destroy() 464 struct ifnet *ifp = sc->sc_ifp; in lagg_lladdr() local 513 struct ifnet *ifp = lp->lp_ifp; in lagg_port_lladdr() local 555 struct ifnet *ifp; in lagg_port_setlladdr() local 585 lagg_port_create(struct lagg_softc *sc, struct ifnet *ifp) in lagg_port_create() 745 struct ifnet *ifp = lp->lp_ifp; in lagg_port_destroy() local 815 lagg_port_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data, struct ucred *cr) in lagg_port_ioctl() [all …]
|
/dflybsd-src/sys/dev/netif/fwe/ |
H A D | if_fwe.c | 108 fwe_npoll_compat(struct ifnet *ifp, void *arg __unused, int count) in fwe_npoll_compat() 127 fwe_npoll(struct ifnet *ifp, struct ifpoll_info *info) in fwe_npoll() 179 struct ifnet *ifp; in fwe_attach() local 249 struct ifnet *ifp = &fwe->fwe_if; in fwe_stop() local 302 struct ifnet *ifp = &fwe->fwe_if; in fwe_init() local 392 fwe_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data, struct ucred *cr) in fwe_ioctl() 434 struct ifnet *ifp; in fwe_output_callback() local 456 fwe_start(struct ifnet *ifp, struct ifaltq_subque *ifsq) in fwe_start() 483 fwe_as_output(struct fwe_softc *fwe, struct ifnet *ifp) in fwe_as_output() 536 struct ifnet *ifp; in fwe_as_input() local
|
/dflybsd-src/sys/dev/netif/my/ |
H A D | if_my.c | 327 struct ifnet *ifp = &sc->arpcom.ac_if; in my_setmulti() local 395 struct ifnet *ifp = &sc->arpcom.ac_if; in my_autoneg_mii() local 551 struct ifnet *ifp = &sc->arpcom.ac_if; in my_getmode_mii() local 645 struct ifnet *ifp = &sc->arpcom.ac_if; in my_setmode_mii() local 784 struct ifnet *ifp; in my_attach() local 975 struct ifnet *ifp = &sc->arpcom.ac_if; in my_detach() local 1089 struct ifnet *ifp = &sc->arpcom.ac_if; in my_rxeof() local 1146 struct ifnet *ifp = &sc->arpcom.ac_if; in my_txeof() local 1197 struct ifnet *ifp = &sc->arpcom.ac_if; in my_txeoc() local 1218 struct ifnet *ifp = &sc->arpcom.ac_if; in my_intr() local [all …]
|
/dflybsd-src/sys/dev/netif/xl/ |
H A D | if_xl.c | 723 struct ifnet *ifp; in xl_setmulti() local 758 struct ifnet *ifp; in xl_setmulti_hash() local 838 struct ifnet *ifp = &sc->arpcom.ac_if; in xl_setmode() local 1021 struct ifnet *ifp = &sc->arpcom.ac_if; in xl_mediacheck() local 1060 struct ifnet *ifp = &sc->arpcom.ac_if; in xl_choose_xcvr() local 1158 struct ifnet *ifp; in xl_attach() local 1555 struct ifnet *ifp; in xl_detach() local 1950 struct ifnet *ifp; in xl_rxeof() local 2074 struct ifnet *ifp; in xl_txeof() local 2125 struct ifnet *ifp; in xl_txeof_90xB() local [all …]
|
/dflybsd-src/sys/dev/netif/vr/ |
H A D | if_vr.c | 519 struct ifnet *ifp; in vr_setmulti() local 606 struct ifnet *ifp = &sc->arpcom.ac_if; in vr_reset() local 654 struct ifnet *ifp; in vr_attach() local 819 struct ifnet *ifp = &sc->arpcom.ac_if; in vr_detach() local 960 struct ifnet *ifp; in vr_rxeof() local 1033 struct ifnet *ifp; in vr_rxeoc() local 1071 struct ifnet *ifp; in vr_txeof() local 1146 struct ifnet *ifp; in vr_txeoc() local 1161 struct ifnet *ifp = &sc->arpcom.ac_if; in vr_tick() local 1186 struct ifnet *ifp; in vr_intr() local [all …]
|
/dflybsd-src/sys/net/tun/ |
H A D | if_tun.c | 210 struct ifnet *ifp; in tuncreate() local 251 struct ifnet *ifp = sc->tun_ifp; in tundestroy() local 309 struct ifnet *ifp; in tunclose() local 415 tun_clone_destroy(struct ifnet *ifp) in tun_clone_destroy() 437 tunifinit(struct ifnet *ifp) in tunifinit() 477 tunifioctl(struct ifnet *ifp, u_long cmd, caddr_t data, struct ucred *cr) in tunifioctl() 520 tunifstart(struct ifnet *ifp, struct ifaltq_subque *ifsq) in tunifstart() 550 tunifoutput_serialized(struct ifnet *ifp, struct mbuf *m0, in tunifoutput_serialized() 649 tunifoutput(struct ifnet *ifp, struct mbuf *m0, struct sockaddr *dst, in tunifoutput() 671 struct ifnet *ifp = sc->tun_ifp; in tunioctl() local [all …]
|