Electronic device for controlling packet transmission, and operating method thereof

    公开(公告)号:US12155625B2

    公开(公告)日:2024-11-26

    申请号:US17744030

    申请日:2022-05-13

    Abstract: According to certain embodiments, an electronic device comprises: a communication module; at least one processor; and a memory electrically connected to the at least one processor, wherein the memory stores instructions, that when executed, cause the at least one processor to perform a plurality of operations, the plurality of operations comprising: determining whether a packet received through the communication module satisfies at least one packet filtering rule, transmitting the packet directly to a user address space allocated to the memory, bypassing a network stack included in a kernel address space allocated to the memory, when the packet satisfies the at least one packet filtering rule, and transmitting the packet to the user address space through the network stack included in the kernel address space allocated to the memory when the packet does not satisfy the at least one packet filtering rule.

Patent Agency Ranking