Lines Matching refs:gif
113 #define GIFNAME "gif"
118 static MALLOC_DEFINE(M_GIF, "gif", "Generic Tunnel Interface");
165 * Theory of operation: initially, one gif interface is created.
166 * Any time a gif interface is configured, if there are no other
167 * unconfigured gif interfaces, a new gif interface is created.
169 * gif interfaces.
181 /* Only one protocol may be attached to a gif interface. */
195 struct gif_softc* gif = ifnet_softc(ifp);
197 if (gif->gif_proto != 0)
198 printf("gif_add_proto: request add_proto for gif%d\n", ifnet_unit(ifp));
200 gif->gif_proto = protocol_family;
216 /* Glue code to attach inet to a gif interface through DLIL */
239 /* Function to setup the first gif interface */
261 ifnet_clone_params.ifc_name = "gif";
270 ifc = if_clone_lookup("gif", NULL);
302 log(LOG_ERR, "gif_clone_create: failed to allocate gif%d\n", unit);
541 * gif_input is the input handler for IP and IPv6 attached to gif