code: func SEG6LocalActionString(action int) string {
  	switch action {
  	case SEG6_LOCAL_ACTION_END:
  		return "End"
  	case SEG6_LOCAL_ACTION_END_X:
  		return "End.X"
  	case SEG6_LOCAL_ACTION_END_T:
  		return "End.T"
  	case SEG6_LOCAL_ACTION_END_DX2:
  		return "End.DX2"
  	case SEG6_LOCAL_ACTION_END_DX6:
  		return "End.DX6"
  	case SEG6_LOCAL_ACTION_END_DX4:
  		return "End.DX4"
  	case SEG6_LOCAL_ACTION_END_DT6:
  		return "End.DT6"
  	case SEG6_LOCAL_ACTION_END_DT4:
  		return "End.DT4"
  	case SEG6_LOCAL_ACTION_END_B6:
  		return "End.B6"
  	case SEG6_LOCAL_ACTION_END_B6_ENCAPS:
  		return "End.B6.Encaps"
  	case SEG6_LOCAL_ACTION_END_BM:
  		return "End.BM"
  	case SEG6_LOCAL_ACTION_END_S:
  		return "End.S"
  	case SEG6_LOCAL_ACTION_END_AS:
  		return "End.AS"
  	case SEG6_LOCAL_ACTION_END_AM:
  		return "End.AM"
  	}
  	return "unknown"
  }
docs: // Helper functions