why Packets are not received via raw socket from all protocol using ETH_P_ALL?

前端 未结 0 518
难免孤独
难免孤独 2021-01-31 10:59
package main
import (
"fmt"
"syscall"
)
func main() { ` 
  fd, err:= syscall.Socket(syscall.AF_PACKET, syscall.SOCK_RAW, syscall.ETH_P_ALL) //opening         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题