Searched refs:XFRMA_POLICY_TYPE (Results 1 - 5 of 5) sorted by relevance

/external/iproute2/ip/
H A Dxfrm_policy.c370 addattr_l(&req.n, sizeof(req), XFRMA_POLICY_TYPE,
511 if (tb[XFRMA_POLICY_TYPE]) {
514 if (RTA_PAYLOAD(tb[XFRMA_POLICY_TYPE]) < sizeof(*upt)) {
515 fprintf(stderr, "too short XFRMA_POLICY_TYPE len\n");
518 upt = (struct xfrm_userpolicy_type *)RTA_DATA(tb[XFRMA_POLICY_TYPE]);
646 addattr_l(&req.n, sizeof(req), XFRMA_POLICY_TYPE,
737 if (tb[XFRMA_POLICY_TYPE]) {
740 if (RTA_PAYLOAD(tb[XFRMA_POLICY_TYPE]) < sizeof(*upt)) {
741 fprintf(stderr, "too short XFRMA_POLICY_TYPE len\n");
744 upt = (struct xfrm_userpolicy_type *)RTA_DATA(tb[XFRMA_POLICY_TYPE]);
[all...]
H A Dxfrm_monitor.c153 if (tb[XFRMA_POLICY_TYPE]) {
158 if (RTA_PAYLOAD(tb[XFRMA_POLICY_TYPE]) < sizeof(*upt))
161 upt = (struct xfrm_userpolicy_type *)RTA_DATA(tb[XFRMA_POLICY_TYPE]);
H A Dipxfrm.c967 if (tb[XFRMA_POLICY_TYPE]) {
972 if (RTA_PAYLOAD(tb[XFRMA_POLICY_TYPE]) < sizeof(*upt))
975 upt = (struct xfrm_userpolicy_type *)RTA_DATA(tb[XFRMA_POLICY_TYPE]);
/external/iproute2/include/linux/
H A Dxfrm.h290 XFRMA_POLICY_TYPE, /* struct xfrm_userpolicy_type */ enumerator in enum:xfrm_attr_type_t
/external/kernel-headers/original/uapi/linux/
H A Dxfrm.h292 XFRMA_POLICY_TYPE, /* struct xfrm_userpolicy_type */ enumerator in enum:xfrm_attr_type_t

Completed in 204 milliseconds