hard-interface.c (b6da4bf5d7951aba4f86d65546474c4e718f650f) | hard-interface.c (fc9572756418e13e0bffaf2d58f678b907602507) |
---|---|
1/* 2 * Copyright (C) 2007-2011 B.A.T.M.A.N. contributors: 3 * 4 * Marek Lindner, Simon Wunderlich 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of version 2 of the GNU General Public 8 * License as published by the Free Software Foundation. --- 618 unchanged lines hidden (view full) --- 627 } 628 629 /* all receive handlers return whether they received or reused 630 * the supplied skb. if not, we have to free the skb. */ 631 632 switch (batman_ogm_packet->packet_type) { 633 /* batman originator packet */ 634 case BAT_OGM: | 1/* 2 * Copyright (C) 2007-2011 B.A.T.M.A.N. contributors: 3 * 4 * Marek Lindner, Simon Wunderlich 5 * 6 * This program is free software; you can redistribute it and/or 7 * modify it under the terms of version 2 of the GNU General Public 8 * License as published by the Free Software Foundation. --- 618 unchanged lines hidden (view full) --- 627 } 628 629 /* all receive handlers return whether they received or reused 630 * the supplied skb. if not, we have to free the skb. */ 631 632 switch (batman_ogm_packet->packet_type) { 633 /* batman originator packet */ 634 case BAT_OGM: |
635 ret = recv_bat_packet(skb, hard_iface); | 635 ret = recv_bat_ogm_packet(skb, hard_iface); |
636 break; 637 638 /* batman icmp packet */ 639 case BAT_ICMP: 640 ret = recv_icmp_packet(skb, hard_iface); 641 break; 642 643 /* unicast packet */ --- 78 unchanged lines hidden --- | 636 break; 637 638 /* batman icmp packet */ 639 case BAT_ICMP: 640 ret = recv_icmp_packet(skb, hard_iface); 641 break; 642 643 /* unicast packet */ --- 78 unchanged lines hidden --- |