X-Git-Url: https://gerrit.fd.io/r/gitweb?p=vpp.git;a=blobdiff_plain;f=src%2Fvnet%2Finterface.h;h=6ca2b0d6ceeca140511259e0fc1f526c3330d959;hp=30023ebded3f5d99594b33aa7dbd4e8f1dfe1ed3;hb=bdc0e6b7;hpb=6a4375e02d8dd4ebcc2f79ee9f6abbafdd2f674c diff --git a/src/vnet/interface.h b/src/vnet/interface.h index 30023ebded3..6ca2b0d6cee 100644 --- a/src/vnet/interface.h +++ b/src/vnet/interface.h @@ -90,7 +90,7 @@ typedef enum VNET_FLOW_DEV_OP_RESET_COUNTER, } vnet_flow_dev_op_t; -/* Interface flow opeations callback. */ +/* Interface flow operations callback. */ typedef int (vnet_flow_dev_ops_function_t) (struct vnet_main_t * vnm, vnet_flow_dev_op_t op, u32 hw_if_index, u32 index, @@ -429,7 +429,7 @@ typedef struct _vnet_hw_interface_class u32 sw_if_index, vnet_link_t link_type, const void *dst_hw_address); - /* Update an adjacecny added by FIB (as opposed to via the + /* Update an adjacency added by FIB (as opposed to via the * neighbour resolution protocol). */ void (*update_adjacency) (struct vnet_main_t * vnm, u32 sw_if_index, u32 adj_index); @@ -686,7 +686,7 @@ extern vnet_mtu_t vnet_link_to_mtu (vnet_link_t link); typedef enum vnet_sw_interface_flags_t_ { - /* Interface is "up" meaning adminstratively up. + /* Interface is "up" meaning administratively up. Up in the sense of link state being up is maintained by hardware interface. */ VNET_SW_INTERFACE_FLAG_ADMIN_UP = (1 << 0),