Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet6/in6.c
Show First 20 Lines • Show All 1,968 Lines • ▼ Show 20 Lines | in6_if2idlen(struct ifnet *ifp) | ||||
case IFT_ETHER: /* RFC2464 */ | case IFT_ETHER: /* RFC2464 */ | ||||
case IFT_PROPVIRTUAL: /* XXX: no RFC. treat it as ether */ | case IFT_PROPVIRTUAL: /* XXX: no RFC. treat it as ether */ | ||||
case IFT_L2VLAN: /* ditto */ | case IFT_L2VLAN: /* ditto */ | ||||
case IFT_BRIDGE: /* bridge(4) only does Ethernet-like links */ | case IFT_BRIDGE: /* bridge(4) only does Ethernet-like links */ | ||||
case IFT_INFINIBAND: | case IFT_INFINIBAND: | ||||
return (64); | return (64); | ||||
case IFT_PPP: /* RFC2472 */ | case IFT_PPP: /* RFC2472 */ | ||||
return (64); | return (64); | ||||
case IFT_ARCNET: /* RFC2497 */ | |||||
return (64); | |||||
case IFT_FRELAY: /* RFC2590 */ | case IFT_FRELAY: /* RFC2590 */ | ||||
return (64); | return (64); | ||||
case IFT_IEEE1394: /* RFC3146 */ | case IFT_IEEE1394: /* RFC3146 */ | ||||
return (64); | return (64); | ||||
case IFT_GIF: | case IFT_GIF: | ||||
return (64); /* draft-ietf-v6ops-mech-v2-07 */ | return (64); /* draft-ietf-v6ops-mech-v2-07 */ | ||||
case IFT_LOOP: | case IFT_LOOP: | ||||
return (64); /* XXX: is this really correct? */ | return (64); /* XXX: is this really correct? */ | ||||
▲ Show 20 Lines • Show All 540 Lines • Show Last 20 Lines |