Patent ID: 8873367

Claim:
A method performed by a wireless transmit/receive unit (WTRU) to implement packet filtering, the WTRU including a first interface and a second interface, the method comprising: configuring at least one mode of a plurality of modes on the WTRU, the plurality of modes corresponding to a plurality of packet traffic flow control techniques; determine at least one outgoing packet to be sent from the WTRU; applying at least one tag to at the least one outgoing packet; registering at least one hook on the WTRU; executing an outgoing packet filtering function associated with the at least one mode of the plurality of modes, the executing the outgoing packet filtering function including calling the at least one hook; determining, by the outgoing packet filtering function, based at least in part on the at least one tag, at least one of the first interface or the second interface via which to send the at least one outgoing packet; removing the at least one tag from the at least one outgoing packet by the outgoing packet filtering function associated with the at least one mode of the plurality of modes; and sending the at least one outgoing packet from the WTRU via at least one of the determined first interface or second interface, the determining by the outgoing packet filtering function of the at least one of the first interface or the second interface being executed by the at least one hook at a kernel level at a time proximate to the sending of the at least one outgoing packet.