Lines Matching defs:role
81 unsigned int role;
230 unsigned int hdrlen, unsigned int role)
239 if (role == GTP_ROLE_SGSN)
246 unsigned int hdrlen, unsigned int role)
260 if (role == GTP_ROLE_SGSN) {
273 unsigned int hdrlen, unsigned int role,
278 return gtp_check_ms_ipv4(skb, pctx, hdrlen, role);
280 return gtp_check_ms_ipv6(skb, pctx, hdrlen, role);
310 unsigned int hdrlen, unsigned int role, __u16 inner_proto)
312 if (!gtp_check_ms(skb, pctx, hdrlen, role, inner_proto)) {
617 return gtp_rx(pctx, skb, hdrlen, gtp->role, inner_proto);
842 return gtp_rx(pctx, skb, hdrlen, gtp->role, inner_proto);
1176 if (gtp->role == GTP_ROLE_SGSN)
1226 if (gtp->role == GTP_ROLE_SGSN)
1464 unsigned int role = GTP_ROLE_GGSN;
1485 role = nla_get_u32(data[IFLA_GTP_ROLE]);
1486 if (role > GTP_ROLE_SGSN)
1489 gtp->role = role;
1590 if (nla_put_u32(skb, IFLA_GTP_ROLE, gtp->role))