Lines Matching defs:gif
113 #define GIFNAME "gif"
118 static MALLOC_DEFINE(M_GIF, "gif", "Generic Tunnel Interface");
161 * Theory of operation: initially, one gif interface is created.
162 * Any time a gif interface is configured, if there are no other
163 * unconfigured gif interfaces, a new gif interface is created.
165 * gif interfaces.
177 /* Only one protocol may be attached to a gif interface. */
191 struct gif_softc* gif = ifnet_softc(ifp);
193 if (gif->gif_proto != 0)
194 printf("gif_add_proto: request add_proto for gif%d\n", ifnet_unit(ifp));
196 gif->gif_proto = protocol_family;
212 /* Glue code to attach inet to a gif interface through DLIL */
235 /* Function to setup the first gif interface */
273 /* Creates another gif device if there are none free */
286 /* Check for unused gif interface */
295 log(LOG_ERR, "gifattach: failed to allocate gif%d\n", ngif);
482 * gif_input is the input handler for IP and IPv6 attached to gif