Lines Matching defs:inp
278 * @param inp the netif on which this packet was received
281 ip4_forward(struct pbuf *p, struct ip_hdr *iphdr, struct netif *inp)
286 LWIP_UNUSED_ARG(inp);
312 if (netif == inp) {
421 * @param inp the netif on which this packet was received
426 ip4_input(struct pbuf *p, struct netif *inp)
457 if (LWIP_HOOK_IP4_INPUT(p, inp)) {
499 IF__NETIF_CHECKSUM_ENABLED(inp, NETIF_CHECKSUM_CHECK_IP) {
521 if ((inp->flags & NETIF_FLAG_IGMP) && (igmp_lookfor_group(inp, ip4_current_dest_addr()))) {
529 netif = inp;
534 if ((netif_is_up(inp)) && (!ip4_addr_isany_val(*netif_ip4_addr(inp)))) {
535 netif = inp;
541 /* start trying with inp. if that's not acceptable, start walking the
543 if (ip4_input_accept(inp)) {
544 netif = inp;
556 if (netif == inp) {
587 netif = inp;
604 if ((ip4_addr_isbroadcast(ip4_current_src_addr(), inp)) ||
623 if (!ip4_addr_isbroadcast(ip4_current_dest_addr(), inp)) {
625 ip4_forward(p, (struct ip_hdr *)p->payload, inp);
684 ip_data.current_input_netif = inp;
690 raw_status = raw_input(p, inp);
703 udp_input(p, inp);
709 tcp_input(p, inp);
715 icmp_input(p, inp);
720 igmp_input(p, inp, ip4_current_dest_addr());