Lines Matching defs:xso
93 if (_x->xso.type == XFRM_DEV_OFFLOAD_PACKET) \
99 if (!_x || _x->xso.type == XFRM_DEV_OFFLOAD_PACKET) \
122 XFRM_STATE_INSERT(bydst, &x->bydst, ndsttable + h, x->xso.type);
127 XFRM_STATE_INSERT(bysrc, &x->bysrc, nsrctable + h, x->xso.type);
134 x->xso.type);
140 x->xso.type);
777 struct xfrm_dev_offload *xso;
780 xso = &x->xso;
782 if (xso->dev == dev &&
861 struct xfrm_dev_offload *xso;
864 xso = &x->xso;
866 if (!xfrm_state_kern(x) && xso->dev == dev) {
989 if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET)
998 if (xdo->dev != x->xso.dev)
1000 } else if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET)
1163 if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET)
1172 if (pol->xdo.dev != x->xso.dev)
1174 } else if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET)
1197 if (x->xso.type != XFRM_DEV_OFFLOAD_PACKET)
1206 if (pol->xdo.dev != x->xso.dev)
1208 } else if (x->xso.type == XFRM_DEV_OFFLOAD_PACKET)
1269 struct xfrm_dev_offload *xso = &x->xso;
1271 xso->type = XFRM_DEV_OFFLOAD_PACKET;
1272 xso->dir = xdo->dir;
1273 xso->dev = xdo->dev;
1274 xso->real_dev = xdo->real_dev;
1275 xso->flags = XFRM_DEV_OFFLOAD_FLAG_ACQ;
1276 netdev_tracker_alloc(xso->dev, &xso->dev_tracker,
1278 error = xso->dev->xfrmdev_ops->xdo_dev_state_add(x, NULL);
1280 xso->dir = 0;
1281 netdev_put(xso->dev, &xso->dev_tracker);
1282 xso->dev = NULL;
1283 xso->real_dev = NULL;
1284 xso->type = XFRM_DEV_OFFLOAD_UNSPECIFIED;
1298 x->xso.type);
1302 x->xso.type);
1307 x->xso.type);
1313 x->xso.type);
1324 struct xfrm_dev_offload *xso = &x->xso;
1326 if (xso->type == XFRM_DEV_OFFLOAD_PACKET) {
1427 x->xso.type);
1431 x->xso.type);
1438 x->xso.type);
1445 x->xso.type);
1560 x->xso.type);
1563 x->xso.type);
2249 x->xso.type);