IPPROTO_GRE
ip->ip_p = IPPROTO_GRE;
ip6->ip6_nxt = IPPROTO_GRE;
ip->ip_p = IPPROTO_GRE;
.pr_protocol = IPPROTO_GRE,
.pr_protocol = IPPROTO_GRE,
arg->protocol == IPPROTO_GRE)
int mib[] = { CTL_NET, PF_INET, IPPROTO_GRE, GRECTL_ALLOW };
if ((sock_gre = priv_socket(AF_INET, SOCK_RAW, IPPROTO_GRE)) < 0) {
#ifndef IPPROTO_GRE
case IPPROTO_GRE:
#ifndef IPPROTO_GRE
case IPPROTO_GRE: