Searched defs:iptun (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/inet/iptun/
H A Diptun_dev.c88 iptun_t *iptun; local
91 /* note that iptun_delete() removes iptun from the list */
92 while ((iptun = list_head(&iptuns->iptuns_iptunlist)) != NULL) {
93 linkid = iptun->iptun_linkid;
94 (void) iptun_delete(linkid, iptun->iptun_connp->conn_cred);
237 iptun_t *iptun = buf; local
239 bzero(iptun, sizeof (*iptun));
240 mutex_init(&iptun->iptun_lock, NULL, MUTEX_DEFAULT, NULL);
241 cv_init(&iptun
251 iptun_t *iptun = buf; local
[all...]
H A Diptun.c27 * iptun - IP Tunneling Driver
81 #include <inet/iptun.h>
117 * Table containing per-iptun-type information.
185 iptun_t *iptun = arg; local
190 *val = iptun->iptun_ierrors;
193 *val = iptun->iptun_oerrors;
196 *val = iptun->iptun_rbytes;
199 *val = iptun->iptun_ipackets;
202 *val = iptun->iptun_obytes;
205 *val = iptun
223 iptun_t *iptun = arg; local
237 iptun_t *iptun = arg; local
272 iptun_t *iptun = arg; local
303 iptun_t *iptun = arg; local
324 iptun_t *iptun = barg; local
384 iptun_t *iptun = barg; local
412 iptun_t *iptun = barg; local
448 iptun_enter(iptun_t *iptun) argument
464 iptun_exit(iptun_t *iptun) argument
473 iptun_enter_by_linkid(datalink_id_t linkid, iptun_t **iptun) argument
521 iptun_t *iptun; local
591 iptun_task_dispatch(iptun_t *iptun, iptun_task_t iptun_task) argument
674 iptun_setladdr(iptun_t *iptun, const struct sockaddr_storage *laddr) argument
681 iptun_setraddr(iptun_t *iptun, const struct sockaddr_storage *raddr) argument
690 iptun_canbind(iptun_t *iptun) argument
705 iptun_bind(iptun_t *iptun) argument
852 iptun_unbind(iptun_t *iptun) argument
868 iptun_headergen(iptun_t *iptun, boolean_t update_mac) argument
958 iptun_set_sec_simple(iptun_t *iptun, const ipsec_req_t *ipsr) argument
1093 iptun_setparams(iptun_t *iptun, const iptun_kparams_t *ik) argument
1178 iptun_register(iptun_t *iptun) argument
1209 iptun_unregister(iptun_t *iptun) argument
1220 iptun_conn_create(iptun_t *iptun, netstack_t *ns, cred_t *credp) argument
1300 iptun_t *iptun; local
1310 iptun_free(iptun_t *iptun) argument
1367 iptun_t *iptun = NULL; local
1509 iptun_t *iptun = NULL; local
1588 iptun_t *iptun; local
1645 iptun_t *iptun; local
1710 iptun_t *iptun; local
1732 iptun_get_dst_pmtu(iptun_t *iptun, ip_xmit_attr_t *ixa) argument
1783 iptun_update_dst_pmtu(iptun_t *iptun, ip_xmit_attr_t *ixa) argument
1848 iptun_t *iptun = (iptun_t *)arg; local
1874 iptun_get_ipsec_overhead(iptun_t *iptun) argument
1956 iptun_get_maxmtu(iptun_t *iptun, ip_xmit_attr_t *ixa, uint32_t new_pmtu) argument
2024 iptun_update_mtu(iptun_t *iptun, ip_xmit_attr_t *ixa, uint32_t new_pmtu) argument
2093 iptun_sendicmp_v4(iptun_t *iptun, icmph_t *icmp, ipha_t *orig_ipha, mblk_t *mp, ts_label_t *tsl) argument
2150 iptun_sendicmp_v6(iptun_t *iptun, icmp6_t *icmp6, ip6_t *orig_ip6h, mblk_t *mp, ts_label_t *tsl) argument
2203 iptun_icmp_error_v4(iptun_t *iptun, ipha_t *orig_ipha, mblk_t *mp, uint8_t type, uint8_t code, ts_label_t *tsl) argument
2216 iptun_icmp_fragneeded_v4(iptun_t *iptun, uint32_t newmtu, ipha_t *orig_ipha, mblk_t *mp, ts_label_t *tsl) argument
2230 iptun_icmp_error_v6(iptun_t *iptun, ip6_t *orig_ip6h, mblk_t *mp, uint8_t type, uint8_t code, uint32_t offset, ts_label_t *tsl) argument
2245 iptun_icmp_toobig_v6(iptun_t *iptun, uint32_t newmtu, ip6_t *orig_ip6h, mblk_t *mp, ts_label_t *tsl) argument
2387 iptun_input_icmp_v4(iptun_t *iptun, mblk_t *data_mp, icmph_t *icmph, ip_recv_attr_t *ira) argument
2560 iptun_input_icmp_v6(iptun_t *iptun, mblk_t *data_mp, icmp6_t *icmp6h, ip_recv_attr_t *ira) argument
2683 iptun_t *iptun = connp->conn_iptun; local
2722 iptun_in_6to4_ok(iptun_t *iptun, ipha_t *outer4, ip6_t *inner6) argument
2776 iptun_t *iptun = connp->conn_iptun; local
2844 iptun_out_process_6to4(iptun_t *iptun, ipha_t *outer4, ip6_t *inner6) argument
2924 iptun_out_process_ipv4(iptun_t *iptun, mblk_t *mp, ipha_t *outer4, ipha_t *inner4, ip6_t *inner6, ip_xmit_attr_t *ixa) argument
2980 iptun_insert_encaplimit(iptun_t *iptun, mblk_t *mp, ip6_t *outer6, uint8_t limit) argument
3021 iptun_out_process_ipv6(iptun_t *iptun, mblk_t *mp, ip6_t *outer6, ipha_t *inner4, ip6_t *inner6, ip_xmit_attr_t *ixa) argument
3105 iptun_output(iptun_t *iptun, mblk_t *mp) argument
3179 iptun_output_6to4(iptun_t *iptun, mblk_t *mp) argument
3352 iptun_output_common(iptun_t *iptun, ip_xmit_attr_t *ixa, mblk_t *mp) argument
[all...]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dspd.c72 #include <inet/iptun.h>
73 #include <inet/iptun/iptun_impl.h>
5181 ipsec_tun_outbound(mblk_t *mp, iptun_t *iptun, ipha_t *inner_ipv4, argument
5190 ipsec_tun_pol_t *itp = iptun->iptun_itp;
5191 netstack_t *ns = iptun->iptun_ns;
5406 ixa->ixa_zoneid = iptun->iptun_connp->conn_zoneid;
6101 iptun_t *iptun; local
6120 iptun = connp->conn_iptun;
6121 if (iptun != NULL) {
6122 itp = iptun
[all...]

Completed in 77 milliseconds