sock socket 中文意思是什麼
sock socket
解釋
套節-
Secondly, we implement a bpf model called mybpf on linux as a kernel module. it can collect packets within the netfilter frame, provide the applications with an interface in char device file manner and be attached to the nf _ ip _ pre _ routing hook defined by netfilter frame for ipv4 as a hook function. finally, we evaluate the performance between mybpf and other bpf on sock _ packet socket
該模塊以字元設備文件的形式為應用程序提供介面,並在netfilter框架為ipv4定義的nf _ ip _ pre _ routing鉤子上掛接了一個鉤子函數,該鉤子函數實現bpf虛擬機,完成對數據包的捕獲;最後,本文對mybpf模塊作了相應的測試並與在sock _ packet套介面上實現的bpf做了性能比較。
分享友人