Lines Matching refs:XFRMA_POLICY_TYPE
366 addattr_l(&req.n, sizeof(req), XFRMA_POLICY_TYPE,
507 if (tb[XFRMA_POLICY_TYPE]) {
510 if (RTA_PAYLOAD(tb[XFRMA_POLICY_TYPE]) < sizeof(*upt)) {
511 fprintf(stderr, "too short XFRMA_POLICY_TYPE len\n");
514 upt = (struct xfrm_userpolicy_type *)RTA_DATA(tb[XFRMA_POLICY_TYPE]);
642 addattr_l(&req.n, sizeof(req), XFRMA_POLICY_TYPE,
733 if (tb[XFRMA_POLICY_TYPE]) {
736 if (RTA_PAYLOAD(tb[XFRMA_POLICY_TYPE]) < sizeof(*upt)) {
737 fprintf(stderr, "too short XFRMA_POLICY_TYPE len\n");
740 upt = (struct xfrm_userpolicy_type *)RTA_DATA(tb[XFRMA_POLICY_TYPE]);
1135 addattr_l(&req.n, sizeof(req), XFRMA_POLICY_TYPE,