Re: [PATCH] Allow del policy by id and get policy by selector

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



   From: YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@wide.ad.jp>
   Date: Sat, 07 Jun 2003 18:39:55 +0900 (JST)

   static inline struct xfrm_policy *
   xfrm_policy_delete(int dir, struct xfrm_selector *sel) {
      return __xfrm_policy_bysel(dir, sel, 1);
   }
   
   static inline struct xfrm_policy *
   xfrm_policy_bysel(int dir, struct xfrm_selector *sel) {
      return __xfrm_policy_bysel(dir, sel, 0);
   }
   
I don't have any big problem with this.
   
   > -	{	.doit	=	xfrm_del_policy 	},
   > +	{	.doit	=	xfrm_get_policy 	},
                                        ~~~delget or so
   >  	{
   >  		.doit	=	xfrm_get_policy,
                                        ~~~selget or so
   >  		.dump	=	xfrm_dump_policy,
   
This I definitely agree with.
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux