Home | History | Annotate | Download | only in ip

Lines Matching refs:tb

410 	struct rtattr * tb[XFRMA_MAX+1];
453 parse_rtattr(tb, XFRMA_MAX, rta, len);
455 if (tb[XFRMA_POLICY_TYPE]) {
458 if (RTA_PAYLOAD(tb[XFRMA_POLICY_TYPE]) < sizeof(*upt)) {
462 upt = (struct xfrm_userpolicy_type *)RTA_DATA(tb[XFRMA_POLICY_TYPE]);
478 if (!tb[XFRMA_POLICY]) {
482 if (RTA_PAYLOAD(tb[XFRMA_POLICY]) < sizeof(*xpinfo)) {
486 xpinfo = (struct xfrm_userpolicy_info *)RTA_DATA(tb[XFRMA_POLICY]);
489 xfrm_policy_info_print(xpinfo, tb, fp, NULL, NULL);
629 struct rtattr *tb[XFRMA_MAX+1];
646 parse_rtattr(tb, XFRMA_MAX, XFRMP_RTA(xpinfo), len);
648 if (tb[XFRMA_POLICY_TYPE]) {
651 if (RTA_PAYLOAD(tb[XFRMA_POLICY_TYPE]) < sizeof(*upt)) {
655 upt = (struct xfrm_userpolicy_type *)RTA_DATA(tb[XFRMA_POLICY_TYPE]);
817 struct rtattr * tb[XFRMA_SPD_MAX+1];
829 parse_rtattr(tb, XFRMA_SPD_MAX, rta, len);
832 if (tb[XFRMA_SPD_INFO]) {
835 if (RTA_PAYLOAD(tb[XFRMA_SPD_INFO]) < sizeof(*si)) {
839 si = RTA_DATA(tb[XFRMA_SPD_INFO]);
857 if (tb[XFRMA_SPD_HINFO]) {
858 if (RTA_PAYLOAD(tb[XFRMA_SPD_HINFO]) < sizeof(*sh)) {
862 sh = RTA_DATA(tb[XFRMA_SPD_HINFO]);