Lines Matching defs:handler
1305 const struct sip_handler *handler;
1307 handler = &sip_handlers[i];
1308 if (handler->response == NULL)
1310 if (*datalen < matchend + handler->len ||
1311 strnicmp(*dptr + matchend, handler->method, handler->len))
1313 return handler->response(skb, dataoff, dptr, datalen,
1328 const struct sip_handler *handler;
1330 handler = &sip_handlers[i];
1331 if (handler->request == NULL)
1333 if (*datalen < handler->len ||
1334 strnicmp(*dptr, handler->method, handler->len))
1344 return handler->request(skb, dataoff, dptr, datalen, cseq);