• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/netkey/

Lines Matching defs:interface

6443  * XXX sysctl interface to ipsec_{ah,esp}_keymin
8244 Application of kernel control for interface creation
8248 kernel control will register an interface for every client that connects.
8249 ipsec interface do not send or receive packets, an they are intercepted by ipsec before
8250 they reach the interface. ipsec needs interface to attach tunnel ip addresses.
8284 static errno_t ipsecif_output(ifnet_t interface, mbuf_t data);
8285 static errno_t ipsecif_demux(ifnet_t interface, mbuf_t data, char *frame_header,
8287 static errno_t ipsecif_add_proto(ifnet_t interface, protocol_family_t protocol,
8290 static errno_t ipsecif_del_proto(ifnet_t interface, protocol_family_t protocol);
8291 static errno_t ipsecif_ioctl(ifnet_t interface, u_int32_t cmd, void *data);
8292 static errno_t ipsecif_settap(ifnet_t interface, bpf_tap_mode mode,
8294 static void ipsecif_detached(ifnet_t interface);
8297 static errno_t ipsecif_attach_proto(ifnet_t interface, protocol_family_t proto);
8298 static errno_t ipsecif_proto_input(ifnet_t interface, protocol_family_t protocol,
8346 /* Find a unique value for our interface family */
8401 /* kernel control allocates, interface frees */
8413 /* Create the interface */
8441 /* Attach the interface */
8457 * These defines are marked private but it's impossible to remove an interface
8461 #define SIOCPROTODETACH _IOWR('i', 81, struct ifreq) /* detach proto from interface */
8465 #define SIOCPROTODETACH_IN6 _IOWR('i', 111, struct in6_ifreq) /* detach proto from interface */
8471 ifnet_t interface,
8483 ifnet_name(interface), ifnet_unit(interface));
8492 ifnet_name(interface), ifnet_unit(interface));
8502 ifnet_t interface,
8515 ifnet_name(interface), ifnet_unit(interface));
8532 ifnet_name(interface), ifnet_unit(interface));
8551 ifnet_t interface,
8573 result = ipsecif_detach_ip(interface, protocol, pf_socket);
8588 result = ifnet_get_address_list_family(interface, &addresses, protocol);
8591 ifnet_name(interface), ifnet_unit(interface),
8597 ipsecif_remove_address(interface, protocol, addresses[i], pf_socket);
8605 result = ipsecif_detach_ip(interface, protocol, pf_socket);
8632 * We want to do everything in our power to ensure that the interface
8635 * release the interface.
8724 ifnet_t interface,
8727 struct ipsecif_pcb *pcb = ifnet_softc(interface);
8731 call_bpf_tap(interface, pcb->tap, data);
8734 // no packet should go to the ipsec interface
8744 ifnet_stat_increment_out(interface, 0, 0, 1);
8747 ifnet_stat_increment_out(interface, 1, length, 0);
8760 __unused ifnet_t interface,
8789 __unused ifnet_t interface,
8808 __unused ifnet_t interface,
8816 __unused ifnet_t interface,
8824 ifnet_set_mtu(interface, ((struct ifreq*)data)->ifr_mtu);
8836 ifnet_t interface,
8840 struct ipsecif_pcb *pcb = ifnet_softc(interface);
8850 ifnet_t interface)
8852 struct ipsecif_pcb *pcb = ifnet_softc(interface);
8863 __unused ifnet_t interface,
8875 ifnet_t interface,
8884 result = ifnet_attach_protocol(interface, protocol, &proto);