|
Linux Kernel
3.7.1
|
#include <linux/compiler.h>#include <linux/xfrm.h>#include <linux/spinlock.h>#include <linux/list.h>#include <linux/skbuff.h>#include <linux/socket.h>#include <linux/pfkeyv2.h>#include <linux/ipsec.h>#include <linux/in6.h>#include <linux/mutex.h>#include <linux/audit.h>#include <linux/slab.h>#include <net/sock.h>#include <net/dst.h>#include <net/ip.h>#include <net/route.h>#include <net/ipv6.h>#include <net/ip6_fib.h>#include <net/flow.h>#include <linux/interrupt.h>Go to the source code of this file.
Data Structures | |
| struct | xfrm_state_walk |
| struct | xfrm_state |
| struct | km_event |
| struct | xfrm_replay |
| struct | xfrm_policy_afinfo |
| struct | xfrm_state_afinfo |
| struct | xfrm_type |
| struct | xfrm_mode |
| struct | xfrm_tmpl |
| struct | xfrm_policy_walk_entry |
| struct | xfrm_policy_walk |
| struct | xfrm_policy |
| struct | xfrm_kmaddress |
| struct | xfrm_migrate |
| struct | xfrm_mgr |
| struct | xfrm_skb_cb |
| struct | xfrm_mode_skb_cb |
| struct | xfrm_spi_skb_cb |
| struct | xfrm_audit |
| struct | xfrm_dst |
| struct | sec_path |
| struct | xfrm_algo_aead_info |
| struct | xfrm_algo_auth_info |
| struct | xfrm_algo_encr_info |
| struct | xfrm_algo_comp_info |
| struct | xfrm_algo_desc |
| struct | xfrm_tunnel |
| struct | xfrm6_tunnel |
| struct | xfrmk_sadinfo |
| struct | xfrmk_spdinfo |
Enumerations | |
| enum | { XFRM_STATE_VOID, XFRM_STATE_ACQ, XFRM_STATE_VALID, XFRM_STATE_ERROR, XFRM_STATE_EXPIRED, XFRM_STATE_DEAD } |
| enum | { XFRM_MODE_FLAG_TUNNEL = 1 } |
Variables | |
| struct mutex | xfrm_cfg_mutex |
| #define MODULE_ALIAS_XFRM_MODE | ( | family, | |
| encap | |||
| ) | MODULE_ALIAS("xfrm-mode-" __stringify(family) "-" __stringify(encap)) |
| #define MODULE_ALIAS_XFRM_TYPE | ( | family, | |
| proto | |||
| ) | MODULE_ALIAS("xfrm-type-" __stringify(family) "-" __stringify(proto)) |
| #define XFRM_MODE_SKB_CB | ( | __skb | ) | ((struct xfrm_mode_skb_cb *)&((__skb)->cb[0])) |
| #define XFRM_PROTO_DSTOPTS IPPROTO_DSTOPTS |
| #define XFRM_PROTO_ROUTING IPPROTO_ROUTING |
| #define XFRM_REPLAY_TIMEOUT XFRM_AE_CE |
| #define XFRM_REPLAY_UPDATE XFRM_AE_CR |
| #define XFRM_SKB_CB | ( | __skb | ) | ((struct xfrm_skb_cb *)&((__skb)->cb[0])) |
| #define XFRM_SPI_SKB_CB | ( | __skb | ) | ((struct xfrm_spi_skb_cb *)&((__skb)->cb[0])) |
| anonymous enum |
Definition at line 19 of file xfrm_input.c.
| int __xfrm_init_state | ( | struct xfrm_state * | x, |
| bool | init_replay | ||
| ) |
Definition at line 1927 of file xfrm_state.c.
| int __xfrm_state_delete | ( | struct xfrm_state * | x | ) |
Definition at line 541 of file xfrm_state.c.
| void __xfrm_state_destroy | ( | struct xfrm_state * | ) |
Definition at line 528 of file xfrm_state.c.
| int km_new_mapping | ( | struct xfrm_state * | x, |
| xfrm_address_t * | ipaddr, | ||
| __be16 | sport | ||
| ) |
Definition at line 1712 of file xfrm_state.c.
Definition at line 1729 of file xfrm_state.c.
Definition at line 1653 of file xfrm_state.c.
| int km_query | ( | struct xfrm_state * | x, |
| struct xfrm_tmpl * | t, | ||
| struct xfrm_policy * | pol | ||
| ) |
Definition at line 1696 of file xfrm_state.c.
| int km_report | ( | struct net * | net, |
| u8 | proto, | ||
| struct xfrm_selector * | sel, | ||
| xfrm_address_t * | addr | ||
| ) |
Definition at line 1767 of file xfrm_state.c.
| void km_state_expired | ( | struct xfrm_state * | x, |
| int | hard, | ||
| u32 | portid | ||
| ) |
Definition at line 1677 of file xfrm_state.c.
Definition at line 1664 of file xfrm_state.c.
Definition at line 28 of file xfrm_input.c.
Definition at line 57 of file xfrm4_state.c.
| int xfrm4_extract_input | ( | struct xfrm_state * | x, |
| struct sk_buff * | skb | ||
| ) |
Definition at line 20 of file xfrm4_input.c.
| int xfrm4_extract_output | ( | struct xfrm_state * | x, |
| struct sk_buff * | skb | ||
| ) |
Definition at line 47 of file xfrm4_output.c.
Definition at line 282 of file xfrm4_policy.c.
| int xfrm4_mode_tunnel_input_deregister | ( | struct xfrm_tunnel * | handler | ) |
Definition at line 53 of file xfrm4_mode_tunnel.c.
| int xfrm4_mode_tunnel_input_register | ( | struct xfrm_tunnel * | handler | ) |
Definition at line 22 of file xfrm4_mode_tunnel.c.
Definition at line 92 of file xfrm4_output.c.
Definition at line 77 of file xfrm4_output.c.
| int xfrm4_prepare_output | ( | struct xfrm_state * | x, |
| struct sk_buff * | skb | ||
| ) |
Definition at line 60 of file xfrm4_output.c.
Definition at line 162 of file xfrm4_input.c.
Definition at line 40 of file xfrm4_input.c.
Definition at line 88 of file xfrm4_state.c.
Definition at line 49 of file xfrm4_input.c.
| int xfrm4_tunnel_deregister | ( | struct xfrm_tunnel * | handler, |
| unsigned short | family | ||
| ) |
| int xfrm4_tunnel_register | ( | struct xfrm_tunnel * | handler, |
| unsigned short | family | ||
| ) |
Definition at line 156 of file xfrm6_state.c.
| int xfrm6_extract_input | ( | struct xfrm_state * | x, |
| struct sk_buff * | skb | ||
| ) |
Definition at line 19 of file xfrm6_input.c.
| int xfrm6_extract_output | ( | struct xfrm_state * | x, |
| struct sk_buff * | skb | ||
| ) |
Definition at line 92 of file xfrm6_output.c.
Definition at line 23 of file xfrm6_output.c.
| int xfrm6_input_addr | ( | struct sk_buff * | skb, |
| xfrm_address_t * | daddr, | ||
| xfrm_address_t * | saddr, | ||
| u8 | proto | ||
| ) |
Definition at line 58 of file xfrm6_input.c.
Definition at line 157 of file xfrm6_output.c.
Definition at line 125 of file xfrm6_output.c.
| int xfrm6_prepare_output | ( | struct xfrm_state * | x, |
| struct sk_buff * | skb | ||
| ) |
Definition at line 105 of file xfrm6_output.c.
Definition at line 50 of file xfrm6_input.c.
Definition at line 24 of file xfrm6_input.c.
Definition at line 32 of file xfrm6_input.c.
| __be32 xfrm6_tunnel_alloc_spi | ( | struct net * | net, |
| xfrm_address_t * | saddr | ||
| ) |
Definition at line 177 of file xfrm6_tunnel.c.
| int xfrm6_tunnel_deregister | ( | struct xfrm6_tunnel * | handler, |
| unsigned short | family | ||
| ) |
| int xfrm6_tunnel_register | ( | struct xfrm6_tunnel * | handler, |
| unsigned short | family | ||
| ) |
| __be32 xfrm6_tunnel_spi_lookup | ( | struct net * | net, |
| const xfrm_address_t * | saddr | ||
| ) |
Definition at line 104 of file xfrm6_tunnel.c.
|
read |
Definition at line 588 of file xfrm_algo.c.
|
read |
Definition at line 666 of file xfrm_algo.c.
|
read |
Definition at line 618 of file xfrm_algo.c.
Definition at line 654 of file xfrm_algo.c.
| int xfrm_alloc_spi | ( | struct xfrm_state * | x, |
| u32 | minspi, | ||
| u32 | maxspi | ||
| ) |
Definition at line 1519 of file xfrm_state.c.
|
read |
Definition at line 602 of file xfrm_algo.c.
|
read |
Definition at line 632 of file xfrm_algo.c.
Definition at line 718 of file xfrm_algo.c.
Definition at line 729 of file xfrm_algo.c.
| void xfrm_dst_ifdown | ( | struct dst_entry * | dst, |
| struct net_device * | dev | ||
| ) |
Definition at line 2273 of file xfrm_policy.c.
|
read |
Definition at line 595 of file xfrm_algo.c.
|
read |
Definition at line 675 of file xfrm_algo.c.
|
read |
Definition at line 625 of file xfrm_algo.c.
|
read |
Definition at line 1421 of file xfrm_state.c.
Definition at line 1495 of file xfrm_state.c.
Definition at line 1506 of file xfrm_state.c.
Definition at line 2711 of file xfrm_policy.c.
| int xfrm_init_replay | ( | struct xfrm_state * | x | ) |
Definition at line 515 of file xfrm_replay.c.
| int xfrm_init_state | ( | struct xfrm_state * | x | ) |
Definition at line 2016 of file xfrm_state.c.
| int xfrm_inner_extract_output | ( | struct xfrm_state * | x, |
| struct sk_buff * | skb | ||
| ) |
Definition at line 197 of file xfrm_output.c.
Definition at line 105 of file xfrm_input.c.
Definition at line 285 of file xfrm_input.c.
Definition at line 279 of file xfrm_input.c.
Definition at line 177 of file xfrm_output.c.
Definition at line 114 of file xfrm_output.c.
Definition at line 51 of file xfrm_input.c.
|
read |
Definition at line 277 of file xfrm_policy.c.
|
read |
Definition at line 666 of file xfrm_policy.c.
|
read |
Definition at line 626 of file xfrm_policy.c.
| void xfrm_policy_destroy | ( | struct xfrm_policy * | policy | ) |
Definition at line 300 of file xfrm_policy.c.
Definition at line 758 of file xfrm_policy.c.
| int xfrm_policy_insert | ( | int | dir, |
| struct xfrm_policy * | policy, | ||
| int | excl | ||
| ) |
Definition at line 565 of file xfrm_policy.c.
| int xfrm_policy_register_afinfo | ( | struct xfrm_policy_afinfo * | afinfo | ) |
Definition at line 2433 of file xfrm_policy.c.
| int xfrm_policy_unregister_afinfo | ( | struct xfrm_policy_afinfo * | afinfo | ) |
Definition at line 2490 of file xfrm_policy.c.
| int xfrm_policy_walk | ( | struct net * | net, |
| struct xfrm_policy_walk * | walk, | ||
| int(*)(struct xfrm_policy *, int, int, void *) | func, | ||
| void * | |||
| ) |
Definition at line 823 of file xfrm_policy.c.
| void xfrm_policy_walk_done | ( | struct xfrm_policy_walk * | walk | ) |
Definition at line 878 of file xfrm_policy.c.
| void xfrm_policy_walk_init | ( | struct xfrm_policy_walk * | walk, |
| u8 | type | ||
| ) |
Definition at line 869 of file xfrm_policy.c.
| int xfrm_prepare_input | ( | struct xfrm_state * | x, |
| struct sk_buff * | skb | ||
| ) |
Definition at line 85 of file xfrm_input.c.
Definition at line 689 of file xfrm_algo.c.
Definition at line 1826 of file xfrm_state.c.
Definition at line 259 of file xfrm_state.c.
Definition at line 189 of file xfrm_state.c.
| u32 xfrm_replay_seqhi | ( | struct xfrm_state * | x, |
| __be32 | net_seq | ||
| ) |
Definition at line 24 of file xfrm_replay.c.
| void xfrm_sad_getinfo | ( | struct net * | net, |
| struct xfrmk_sadinfo * | si | ||
| ) |
Definition at line 657 of file xfrm_state.c.
| bool xfrm_selector_match | ( | const struct xfrm_selector * | sel, |
| const struct flowi * | fl, | ||
| unsigned short | family | ||
| ) |
Definition at line 85 of file xfrm_policy.c.
Definition at line 1100 of file xfrm_policy.c.
| void xfrm_spd_getinfo | ( | struct net * | net, |
| struct xfrmk_spdinfo * | si | ||
| ) |
Definition at line 486 of file xfrm_policy.c.
| int xfrm_state_add | ( | struct xfrm_state * | x | ) |
Definition at line 1085 of file xfrm_state.c.
|
read |
Definition at line 496 of file xfrm_state.c.
| int xfrm_state_check_expire | ( | struct xfrm_state * | x | ) |
Definition at line 1368 of file xfrm_state.c.
| int xfrm_state_delete | ( | struct xfrm_state * | x | ) |
Definition at line 569 of file xfrm_state.c.
| void xfrm_state_delete_tunnel | ( | struct xfrm_state * | x | ) |
Definition at line 1899 of file xfrm_state.c.
|
read |
Definition at line 801 of file xfrm_state.c.
Definition at line 2057 of file xfrm_state.c.
Definition at line 613 of file xfrm_state.c.
Definition at line 2023 of file xfrm_state.c.
| void xfrm_state_insert | ( | struct xfrm_state * | x | ) |
Definition at line 998 of file xfrm_state.c.
|
read |
Definition at line 1394 of file xfrm_state.c.
|
read |
Definition at line 1407 of file xfrm_state.c.
| int xfrm_state_mtu | ( | struct xfrm_state * | x, |
| int | mtu | ||
| ) |
Definition at line 1913 of file xfrm_state.c.
| int xfrm_state_register_afinfo | ( | struct xfrm_state_afinfo * | afinfo | ) |
Definition at line 1844 of file xfrm_state.c.
| int xfrm_state_unregister_afinfo | ( | struct xfrm_state_afinfo * | afinfo | ) |
Definition at line 1861 of file xfrm_state.c.
| int xfrm_state_update | ( | struct xfrm_state * | x | ) |
Definition at line 1297 of file xfrm_state.c.
| int xfrm_state_walk | ( | struct net * | net, |
| struct xfrm_state_walk * | walk, | ||
| int(*)(struct xfrm_state *, int, void *) | func, | ||
| void * | |||
| ) |
Definition at line 1574 of file xfrm_state.c.
| void xfrm_state_walk_done | ( | struct xfrm_state_walk * | walk | ) |
Definition at line 1623 of file xfrm_state.c.
| void xfrm_state_walk_init | ( | struct xfrm_state_walk * | walk, |
| u8 | proto | ||
| ) |
Definition at line 1614 of file xfrm_state.c.
|
read |
Definition at line 911 of file xfrm_state.c.
Definition at line 77 of file xfrm_sysctl.c.
Definition at line 1835 of file xfrm_state.c.
Definition at line 291 of file xfrm_state.c.
Definition at line 208 of file xfrm_state.c.
1.8.2