Home
last modified time | relevance | path

Searched refs:scope6_id (Results 1 – 4 of 4) sorted by relevance

/freebsd-9-stable/sys/netinet6/
Dscope6.c70 static VNET_DEFINE(struct scope6_id, sid_default);
74 (((struct in6_ifextra *)(ifp)->if_afdata[AF_INET6])->scope6_id)
76 static int scope6_get(struct ifnet *, struct scope6_id *);
77 static int scope6_set(struct ifnet *, struct scope6_id *);
91 struct scope6_id *
94 struct scope6_id *sid; in scope6_ifattach()
96 sid = (struct scope6_id *)malloc(sizeof(*sid), M_IFADDR, M_WAITOK); in scope6_ifattach()
115 scope6_ifdetach(struct scope6_id *sid) in scope6_ifdetach()
133 (struct scope6_id *)ifr->ifr_ifru.ifru_scope_id)); in scope6_ioctl()
136 (struct scope6_id *)ifr->ifr_ifru.ifru_scope_id)); in scope6_ioctl()
[all …]
Dscope6_var.h37 struct scope6_id { struct
46 struct scope6_id *scope6_ifattach(struct ifnet *); argument
47 void scope6_ifdetach(struct scope6_id *);
50 int scope6_get_default(struct scope6_id *);
Din6_var.h96 struct scope6_id;
104 struct scope6_id *scope6_id; member
Din6.c2745 ext->scope6_id = scope6_ifattach(ifp); in in6_domifattach()
2764 scope6_ifdetach(ext->scope6_id); in in6_domifdetach()