Searched refs:PF_PHONET (Results 1 – 10 of 10) sorted by relevance
/Linux-v6.6/net/phonet/ |
D | pn_netlink.c | 289 int err = rtnl_register_module(THIS_MODULE, PF_PHONET, RTM_NEWADDR, in phonet_netlink_register() 295 rtnl_register_module(THIS_MODULE, PF_PHONET, RTM_DELADDR, in phonet_netlink_register() 297 rtnl_register_module(THIS_MODULE, PF_PHONET, RTM_GETADDR, in phonet_netlink_register() 299 rtnl_register_module(THIS_MODULE, PF_PHONET, RTM_NEWROUTE, in phonet_netlink_register() 301 rtnl_register_module(THIS_MODULE, PF_PHONET, RTM_DELROUTE, in phonet_netlink_register() 303 rtnl_register_module(THIS_MODULE, PF_PHONET, RTM_GETROUTE, in phonet_netlink_register()
|
D | af_phonet.c | 77 request_module("net-pf-%d-proto-%d", PF_PHONET, protocol) == 0) in pn_socket_create() 87 sk = sk_alloc(net, PF_PHONET, GFP_KERNEL, pnp->prot, kern); in pn_socket_create() 111 .family = PF_PHONET, 520 sock_unregister(PF_PHONET); in phonet_init() 531 sock_unregister(PF_PHONET); in phonet_exit() 540 MODULE_ALIAS_NETPROTO(PF_PHONET);
|
D | pn_dev.c | 350 rtnl_unregister_all(PF_PHONET); in phonet_device_exit()
|
D | pep.c | 838 newsk = sk_alloc(sock_net(sk), PF_PHONET, GFP_KERNEL, sk->sk_prot, in pep_sock_accept() 1365 MODULE_ALIAS_NET_PF_PROTO(PF_PHONET, PN_PROTO_PIPE);
|
/Linux-v6.6/Documentation/networking/ |
D | phonet.rst | 98 protocol from the PF_PHONET family. Each socket is bound to one of the 109 fd = socket(PF_PHONET, SOCK_DGRAM, 0); 151 lfd = socket(PF_PHONET, SOCK_SEQPACKET, PN_PROTO_PIPE); 178 fd = socket(PF_PHONET, SOCK_SEQPACKET, PN_PROTO_PIPE);
|
/Linux-v6.6/include/net/phonet/ |
D | phonet.h | 114 return sk->sk_family == PF_PHONET; in sk_is_phonet()
|
/Linux-v6.6/include/linux/ |
D | socket.h | 283 #define PF_PHONET AF_PHONET macro
|
/Linux-v6.6/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 283 #define PF_PHONET AF_PHONET macro
|
/Linux-v6.6/net/ |
D | socket.c | 210 [PF_PHONET] = "PF_PHONET",
|
/Linux-v6.6/security/selinux/ |
D | hooks.c | 1276 case PF_PHONET: in socket_type_to_security_class()
|