- Timestamp:
- Jan 12, 2009 2:17:55 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c
r15889 r15894 439 439 * @param eProtocol The protocol. 440 440 */ 441 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 14) 441 442 static int vboxNetFltLinuxPacketHandler(struct sk_buff *pBuf, 442 443 struct net_device *pSkbDev, 443 444 struct packet_type *pPacketType, 444 445 struct net_device *pOrigDev) 446 #else 447 static int vboxNetFltLinuxPacketHandler(struct sk_buff *pBuf, 448 struct net_device *pSkbDev, 449 struct packet_type *pPacketType) 450 #endif 445 451 { 446 452 PVBOXNETFLTINS pThis; 447 453 struct net_device *pDev; 448 /* 449 * Drop it immediately? 450 */ 454 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 14) 451 455 Log2(("vboxNetFltLinuxPacketHandler: pBuf=%p pSkbDev=%p pPacketType=%p pOrigDev=%p\n", 452 456 pBuf, pSkbDev, pPacketType, pOrigDev)); 457 #else 458 Log2(("vboxNetFltLinuxPacketHandler: pBuf=%p pSkbDev=%p pPacketType=%p\n", 459 pBuf, pSkbDev, pPacketType)); 460 #endif 461 /* 462 * Drop it immediately? 463 */ 453 464 if (!pBuf) 454 465 return 0; … … 587 598 } 588 599 600 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 20) 589 601 static void vboxNetFltLinuxXmitTask(struct work_struct *pWork) 602 #else 603 static void vboxNetFltLinuxXmitTask(void *pWork) 604 #endif 590 605 { 591 606 struct sk_buff *pBuf;
Note:
See TracChangeset
for help on using the changeset viewer.