Searched refs:ifnet (Results 26 - 50 of 175) sorted by relevance

1234567

/macosx-10.9.5/xnu-2422.115.4/security/
H A Dmac_net.c139 mac_ifnet_label_init(struct ifnet *ifp)
191 mac_ifnet_label_destroy(struct ifnet *ifp)
199 mac_ifnet_label_recycle(struct ifnet *ifp)
260 return (MAC_EXTERNALIZE(ifnet, label, elements, outbuf, outbuflen));
267 return (MAC_INTERNALIZE(ifnet, label, string));
271 mac_ifnet_label_associate(struct ifnet *ifp)
287 mac_bpfdesc_check_receive(struct bpf_d *bpf_d, struct ifnet *ifp)
341 mac_mbuf_label_associate_ifnet(struct ifnet *ifp, struct mbuf *mbuf)
354 mac_mbuf_label_associate_linklayer(struct ifnet *ifp, struct mbuf *mbuf)
368 struct ifnet *if
[all...]
/macosx-10.9.5/xnu-2422.115.4/bsd/net/
H A Ddlil.c140 _CASSERT(!(offsetof(struct ifnet, if_data.f) % sizeof (u_int64_t)))
149 * the ifnet lock. The rest of the fields are initialized at protocol
157 struct ifnet *ifp;
189 struct ifnet dl_if; /* public ifnet */
214 #define DLIF_INUSE 0x1 /* DLIL ifnet recycler, ifnet in use */
215 #define DLIF_REUSE 0x2 /* DLIL ifnet recycles, ifnet is not new */
225 u_int16_t dldbg_if_refhold_cnt; /* # ifnet reference
[all...]
H A Dif_mib.c109 static int make_ifmibdata(struct ifnet *, int *, struct sysctl_req *);
112 make_ifmibdata(struct ifnet *ifp, int *name, struct sysctl_req *req)
213 struct ifnet *ifp;
243 struct ifnet *ifp;
H A Dmulticast_list.c96 struct ifnet * source_ifp,
97 struct ifnet * target_ifp)
H A Dbridgestp.h218 typedef void (*bstp_state_cb_t)(struct ifnet *, int);
219 typedef void (*bstp_rtage_cb_t)(struct ifnet *, int);
320 struct ifnet *bp_ifp; /* parent if */
415 int bstp_create(struct bstp_state *, struct bstp_port *, struct ifnet *);
419 void bstp_linkstate(struct ifnet *, int);
432 struct mbuf *bstp_input(struct bstp_port *, struct ifnet *, struct mbuf *);
H A Dif_bridge.c296 struct ifnet *bif_ifp; /* member if */
351 struct ifnet *sc_ifp; /* make this an interface */
369 struct ifnet *sc_ifaddr; /* member mac copied from */
401 static int bridge_clone_destroy(struct ifnet *);
403 static errno_t bridge_ioctl(struct ifnet *, u_long, void *);
410 __private_extern__ void bridge_ifdetach(struct bridge_iflist *, struct ifnet *);
411 static int bridge_init(struct ifnet *);
413 static void bridge_dummynet(struct mbuf *, struct ifnet *);
415 static void bridge_ifstop(struct ifnet *, int);
416 static int bridge_output(struct ifnet *, struc
[all...]
H A Dif.c147 static int ifioctl_ifdesc(struct ifnet *, u_long, caddr_t, struct proc *);
148 static int ifioctl_linkparams(struct ifnet *, u_long, caddr_t, struct proc *);
149 static int ifioctl_qstats(struct ifnet *, u_long, caddr_t);
150 static int ifioctl_throttle(struct ifnet *, u_long, caddr_t, struct proc *);
153 void if_rtproto_del(struct ifnet *ifp, int protocol);
155 static int if_addmulti_common(struct ifnet *, const struct sockaddr *,
157 static int if_delmulti_common(struct ifmultiaddr *, struct ifnet *,
161 static void if_rtmtu_update(struct ifnet *);
174 static void if_attach_ifa_common(struct ifnet *, struct ifaddr *, int);
175 static void if_detach_ifa_common(struct ifnet *, struc
[all...]
H A Dbpfdesc.h161 struct ifnet *bif_ifp; /* corresponding interface */
H A Dif_pflog.h69 struct ifnet *sc_if; /* back ptr to interface */
H A Dif_stf.c191 static struct in6_ifaddr *stf_getsrcifa6(struct ifnet *);
192 int stf_pre_output(struct ifnet *, protocol_family_t, struct mbuf **,
195 struct ifnet *);
197 struct ifnet *);
459 stf_getsrcifa6(struct ifnet *ifp)
511 struct ifnet *ifp,
644 struct ifnet *inifp) /* incoming interface */
718 struct ifnet *inifp) /* incoming interface */
748 struct ifnet *ifp;
H A Dif_bond.c205 struct ifnet * ifb_ifp;
271 struct ifnet * po_ifp;
610 bondport_create(struct ifnet * port_ifp, lacp_port_priority priority,
652 static int bond_clone_destroy(struct ifnet *);
655 static int bond_output(struct ifnet *ifp, struct mbuf *m);
656 static int bond_ioctl(struct ifnet *ifp, u_long cmd, void * addr);
657 static int bond_set_bpf_tap(struct ifnet * ifp, bpf_tap_mode mode,
659 static int bond_attach_protocol(struct ifnet *ifp);
660 static int bond_detach_protocol(struct ifnet *ifp);
661 static int bond_setmulti(struct ifnet *if
[all...]
/macosx-10.9.5/xnu-2422.115.4/bsd/netinet/
H A Digmp_var.h260 struct ifnet *igi_ifp; /* interface this instance belongs to */
321 extern struct igmp_ifinfo *igmp_domifattach(struct ifnet *, int);
323 extern void igmp_domifdetach(struct ifnet *);
330 __private_extern__ void igmp_initsilent(struct ifnet *, struct igmp_ifinfo *);
H A Din_arp.h134 extern void arp_llreach_set_reachable(struct ifnet *, void *, unsigned int);
H A Din_var.h179 * Macro for finding the interface (ifnet structure) corresponding to one
184 /* struct ifnet *ifp; */ \
203 * to a given interface (ifnet structure). Caller is responsible for freeing
207 /* struct ifnet *ifp; */ \
221 * This information should be part of the ifnet structure but we don't wish
229 struct ifnet *rti_ifp;
276 * For every entry on an ifnet's if_multiaddrs list which represents
294 * on a detaching ifnet. It could be demoted to a SLIST_ENTRY.
303 struct ifnet *inm_ifp; /* back pointer to ifnet */
[all...]
H A Dip_mroute.h199 struct ifnet;
208 struct ifnet *v_ifp; /* pointer to interface */
265 struct ifnet *ifp; /* Interface pkt came in on */
H A Dip_var.h139 struct ifnet *imo_multicast_ifp; /* ifp for outgoing multicasts */
314 extern int (*ip_mforward)(struct ip *, struct ifnet *, struct mbuf *,
336 extern void ip_output_checksum(struct ifnet *, struct mbuf *, int, int,
346 extern int ip_fragment(struct mbuf *, struct ifnet *, unsigned long, int);
H A Din_pcb.h120 struct ifnet;
160 struct ifnet *inp_boundifp; /* interface for INP_BOUND_IF */
161 struct ifnet *inp_last_outifp; /* last known outgoing interface */
700 unsigned int, struct ifnet **);
706 unsigned int, struct ifnet **);
712 u_int, struct in_addr, u_int, int, struct ifnet *);
714 u_int, struct in_addr, u_int, int, uid_t *, gid_t *, struct ifnet *);
736 extern int inp_bindif(struct inpcb *, unsigned int, struct ifnet **);
752 extern boolean_t inp_restricted(struct inpcb *, struct ifnet *);
H A Digmp.c116 static void igi_initvar(struct igmp_ifinfo *, struct ifnet *, int);
119 static void igi_delete(const struct ifnet *, struct igmp_inm_relhead *);
128 static int igmp_input_v1_query(struct ifnet *, const struct ip *,
130 static int igmp_input_v2_query(struct ifnet *, const struct ip *,
132 static int igmp_input_v3_query(struct ifnet *, const struct ip *,
136 static int igmp_input_v1_report(struct ifnet *, struct mbuf *,
138 static int igmp_input_v2_report(struct ifnet *, struct mbuf *,
156 igmp_v3_encap_report(struct ifnet *, struct mbuf *);
315 igmp_save_context(struct mbuf *m, struct ifnet *ifp)
341 static __inline struct ifnet *
[all...]
/macosx-10.9.5/xnu-2422.115.4/bsd/netinet6/
H A Dip6_var.h139 struct ifnet *im6o_multicast_ifp; /* ifp for outgoing multicasts */
488 extern int ip6_mforward(struct ip6_hdr *, struct ifnet *, struct mbuf *);
497 extern void ip6_mloopback(struct ifnet *, struct ifnet *, struct mbuf *,
500 int, struct ip6_moptions *, struct ifnet **, struct ip6_out_args *);
502 struct route_in6 *, int, struct ip6_moptions *, struct ifnet **,
528 struct ifnet **, struct in6_addr *, unsigned int, int *);
532 struct route_in6 *, struct ifnet **, struct rtentry **, int,
H A Din6_ifattach.c110 static int get_rand_iid(struct ifnet *, struct in6_addr *);
112 static int in6_select_iid_from_all_hw(struct ifnet *, struct ifnet *,
114 static int in6_ifattach_linklocal(struct ifnet *, struct in6_aliasreq *);
115 static int in6_ifattach_loopback(struct ifnet *);
128 __unused struct ifnet *ifp,
250 in6_iid_from_hw(struct ifnet *ifp, struct in6_addr *in6)
397 struct ifnet *ifp0,
398 struct ifnet *altifp, /* secondary EUI64 source */
401 struct ifnet *if
[all...]
H A Dscope6.c94 scope6_ifattach(struct ifnet *ifp)
171 in6_addr2scopeid(struct ifnet *ifp, struct in6_addr *addr)
214 struct ifnet *ifp;
317 scope6_setdefault(struct ifnet *ifp)
367 in6_setscope(struct in6_addr *in6, struct ifnet *ifp, u_int32_t *ret_id)
H A Din6_var.h533 void in6_post_msg(struct ifnet *, u_int32_t, struct in6_ifaddr *);
781 * to a given interface (ifnet structure).
785 /* struct ifnet *ifp; */ \
854 * For every entry on an ifnet's if_multiaddrs list which represents
872 * on a detaching ifnet. It could be demoted to a SLIST_ENTRY.
881 struct ifnet *in6m_ifp; /* back pointer to ifnet */
988 /* struct ifnet *ifp; */ \
1039 extern int im6o_mc_filter(const struct ip6_moptions *, const struct ifnet *,
1041 extern int in6_mc_join(struct ifnet *, cons
[all...]
/macosx-10.9.5/network_cmds-433/netstat.tproj/
H A Dmroute6.c151 struct ifnet ifnet = { 0 } ;
158 * m6_ifp should be ifindex instead of ifnet pointer
160 * kread((u_long)mifp->m6_ifp, (char *)&ifnet, sizeof(ifnet));
173 "reg0" : if_indextoname(ifnet.if_index, ifname));
/macosx-10.9.5/lsof-52/lsof/dialects/darwin/kmem/
H A Ddsock.c89 struct ifnet ifnet; local
329 || kread((KA_T)ndrv_cb.nd_if, (char *)&ifnet, sizeof(ifnet))) {
330 (void) snpf(Namech, Namechl, "can't read ifnet at %s",
335 if (!ifnet.if_name
336 || kread((KA_T)ifnet.if_name, buf, sizeof(buf))) {
337 (void) snpf(Namech, Namechl, "can't read ifnet.if_name at %s",
338 print_kptr((KA_T)ifnet.if_name, (char *)NULL, 0));
342 (void) snpf(Namech, Namechl, "-> %s%d", buf, ifnet
[all...]
/macosx-10.9.5/xnu-2422.115.4/bsd/net/classq/
H A Dclassq_sfb.h114 struct ifnet *sfb_ifp; /* back pointer to ifnet */
136 extern struct sfb *sfb_alloc(struct ifnet *, u_int32_t, u_int32_t, u_int32_t);

Completed in 185 milliseconds

1234567