Lines Matching refs:NULL
254 m = (struct mbuf *)m_devget(pkt, pktsize, 0, NULL, NULL);
257 return NULL;
312 return (NULL);
369 *timer_arg = NULL;
391 if (dhcpol_find(options_p, dhcptag_subnet_mask_e, &len, NULL) != NULL) {
394 if (dhcpol_find(options_p, dhcptag_router_e, &len, NULL) != NULL) {
406 opt = dhcpol_find(options_p, dhcptag_dhcp_message_type_e, &len, NULL);
407 if (opt != NULL && len == 1) {
450 dhcptag_server_identifier_e, &len, NULL);
451 if (ip != NULL && len >= (int)sizeof(*ip)) {
475 dhcptag_subnet_mask_e, &len, NULL);
476 if (ip != NULL && len >= (int)sizeof(*ip)) {
480 dhcpol_find(&options, dhcptag_router_e, &len, NULL);
481 if (ip != NULL && len >= (int)sizeof(*ip)) {
496 else if (timer_arg == NULL) {
645 dhcptag_server_identifier_e, &len, NULL);
646 if (ip == NULL || len < (int)sizeof(*ip)) {
659 dhcptag_subnet_mask_e, &len, NULL);
660 if (ip != NULL && len >= (int)sizeof(*ip)) {
664 dhcpol_find(&options, dhcptag_router_e, &len, NULL);
665 if (ip != NULL && len >= (int)sizeof(*ip)) {
690 else if (timer_arg == NULL) { /* timed out */
811 if (context == NULL) {
814 if (context->so != NULL) {
834 struct dhcp_context * context = NULL;
843 if (dl_p == NULL) {
859 if (context == NULL) {
876 error = inet_aifaddr(context->so, "lo0", &lo_addr, &lo_mask, NULL);
931 return (NULL);
949 if (context == NULL) {