Home | History | Annotate | Download | only in ip

Lines Matching refs:protocol

71 				if (p->iph.protocol && p->iph.protocol != IPPROTO_IPIP) {
75 p->iph.protocol = IPPROTO_IPIP;
78 if (p->iph.protocol && p->iph.protocol != IPPROTO_GRE) {
82 p->iph.protocol = IPPROTO_GRE;
85 if (p->iph.protocol && p->iph.protocol != IPPROTO_IPV6) {
89 p->iph.protocol = IPPROTO_IPV6;
91 if (p->iph.protocol && p->iph.protocol != IPPROTO_IPV6) {
95 p->iph.protocol = IPPROTO_IPV6;
213 if (p->iph.protocol == 0) {
215 p->iph.protocol = IPPROTO_GRE;
217 p->iph.protocol = IPPROTO_IPIP;
219 p->iph.protocol = IPPROTO_IPV6;
221 p->iph.protocol = IPPROTO_IPV6;
226 if (p->iph.protocol == IPPROTO_IPIP || p->iph.protocol == IPPROTO_IPV6) {
270 switch (p.iph.protocol) {
291 switch (p.iph.protocol) {
321 tnl_strproto(p->iph.protocol),
368 if (p->iph.protocol == IPPROTO_IPV6 && !tnl_ioctl_get_6rd(p->name, &ip6rd) && ip6rd.prefixlen) {
475 switch (p.iph.protocol) {
603 * protocol-independent because of unarranged structure between